Title: [132994] trunk/Source/WebKit2
Revision
132994
Author
[email protected]
Date
2012-10-31 01:07:57 -0700 (Wed, 31 Oct 2012)

Log Message

Unreviewed, fix 32bit build breakage.

* WebProcess/Plugins/PDF/PDFPluginAnnotation.mm:
(WebKit::PDFPluginAnnotation::updateGeometry):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (132993 => 132994)


--- trunk/Source/WebKit2/ChangeLog	2012-10-31 07:54:36 UTC (rev 132993)
+++ trunk/Source/WebKit2/ChangeLog	2012-10-31 08:07:57 UTC (rev 132994)
@@ -1,5 +1,12 @@
 2012-10-31  Tim Horton  <[email protected]>
 
+        Unreviewed, fix 32bit build breakage.
+
+        * WebProcess/Plugins/PDF/PDFPluginAnnotation.mm:
+        (WebKit::PDFPluginAnnotation::updateGeometry):
+
+2012-10-31  Tim Horton  <[email protected]>
+
         Full-page PDFPlugin should support inline form editing
         https://bugs.webkit.org/show_bug.cgi?id=100155
 

Modified: trunk/Source/WebKit2/WebProcess/Plugins/PDF/PDFPluginAnnotation.mm (132993 => 132994)


--- trunk/Source/WebKit2/WebProcess/Plugins/PDF/PDFPluginAnnotation.mm	2012-10-31 07:54:36 UTC (rev 132993)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PDF/PDFPluginAnnotation.mm	2012-10-31 08:07:57 UTC (rev 132994)
@@ -92,7 +92,7 @@
 {
     IntSize documentSize(m_pdfLayerController.contentSizeRespectingZoom);
     IntPoint scrollPosition(m_pdfLayerController.scrollPosition);
-    NSRect annotationRect = [m_pdfLayerController boundsForAnnotation:m_annotation.get()];
+    NSRect annotationRect = NSRectFromCGRect([m_pdfLayerController boundsForAnnotation:m_annotation.get()]);
 
     StyledElement* styledElement = static_cast<StyledElement*>(element());
     styledElement->setInlineStyleProperty(CSSPropertyWidth, annotationRect.size.width, CSSPrimitiveValue::CSS_PX);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to