Title: [141377] trunk/Source/WebKit2
Revision
141377
Author
[email protected]
Date
2013-01-30 21:27:42 -0800 (Wed, 30 Jan 2013)

Log Message

Unreviewed build fix after http://trac.webkit.org/changeset/141372.

* WebProcess/Plugins/PDF/PDFPlugin.mm:
(WebKit::PDFPlugin::performDictionaryLookupAtLocation):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (141376 => 141377)


--- trunk/Source/WebKit2/ChangeLog	2013-01-31 05:22:01 UTC (rev 141376)
+++ trunk/Source/WebKit2/ChangeLog	2013-01-31 05:27:42 UTC (rev 141377)
@@ -1,3 +1,10 @@
+2013-01-30  Tim Horton  <[email protected]>
+
+        Unreviewed build fix after http://trac.webkit.org/changeset/141372.
+
+        * WebProcess/Plugins/PDF/PDFPlugin.mm:
+        (WebKit::PDFPlugin::performDictionaryLookupAtLocation):
+
 2013-01-30  Jae Hyun Park  <[email protected]>
 
         Coordinated Graphics : Remove CoordinatedLayerTreeHostProxy dependency from LayerTreeRenderer

Modified: trunk/Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.mm (141376 => 141377)


--- trunk/Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.mm	2013-01-31 05:22:01 UTC (rev 141376)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.mm	2013-01-31 05:27:42 UTC (rev 141377)
@@ -941,7 +941,7 @@
 
 bool PDFPlugin::performDictionaryLookupAtLocation(const WebCore::FloatPoint& point)
 {
-    PDFSelection* lookupSelection = [m_pdfLayerController.get() getSelectionForWordAtPoint:convertFromPluginToPDFView(IntPoint(point))];
+    PDFSelection* lookupSelection = [m_pdfLayerController.get() getSelectionForWordAtPoint:convertFromPluginToPDFView(roundedIntPoint(point))];
 
     if ([[lookupSelection string] length])
         [m_pdfLayerController.get() searchInDictionaryWithSelection:lookupSelection];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to