Try fixing the buildbot build.
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Mar 2007 09:12:06 +0000 (09:12 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Mar 2007 09:12:06 +0000 (09:12 +0000)
        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20058 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/Plugins/WebBaseNetscapePluginView.mm

index 717134e..f0c258b 100644 (file)
@@ -1,3 +1,10 @@
+2007-03-08  Anders Carlsson  <acarlsson@apple.com>
+
+        Try fixing the buildbot build.
+        
+        * Plugins/WebBaseNetscapePluginView.mm:
+        (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
+
 2007-03-07  Anders Carlsson  <acarlsson@apple.com>
 
         Leopard build fix.
index 13b517b..24aeb70 100644 (file)
@@ -433,10 +433,10 @@ static UInt32 QDPixelFormatFromCGBitmapInfo(CGBitmapInfo bitmapInfo)
                     // Get the clip bounds for the existing context and use that for the plug-in's window.clipRect.
                     // The plug-in will intersect this clip rect with the port's dirty region clip constructed below. 
                     CGRect contextClip = CGContextGetClipBoundingBox(currentContext);
-                    window.clipRect.top = contextClip.origin.y;
-                    window.clipRect.left = contextClip.origin.x;
-                    window.clipRect.right = window.clipRect.left + contextClip.size.width;
-                    window.clipRect.bottom = window.clipRect.top + contextClip.size.height;
+                    window.clipRect.top = (uint16)contextClip.origin.y;
+                    window.clipRect.left = (uint16)contextClip.origin.x;
+                    window.clipRect.right = (uint16)window.clipRect.left + contextClip.size.width;
+                    window.clipRect.bottom = (uint16)window.clipRect.top + contextClip.size.height;
                 }
             }
             MacSetRectRgn(clipRegion,