Fix 64-bit build.
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Dec 2010 02:56:24 +0000 (02:56 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Dec 2010 02:56:24 +0000 (02:56 +0000)
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::windowAndViewFramesChanged):

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

WebKit2/ChangeLog
WebKit2/WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm

index 2189e1a..d19f979 100644 (file)
@@ -1,3 +1,10 @@
+2010-12-01  Sam Weinig  <sam@webkit.org>
+
+        Fix 64-bit build.
+
+        * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
+        (WebKit::NetscapePlugin::windowAndViewFramesChanged):
+
 2010-12-01  Anders Carlsson  <andersca@apple.com>
 
         Reviewed by Sam Weinig.
index 525751a..4f2afc0 100644 (file)
@@ -633,9 +633,9 @@ void NetscapePlugin::windowAndViewFramesChanged(const WebCore::IntRect& windowFr
             Rect bounds = computeFakeWindowBoundsRect(windowFrameInScreenCoordinates, viewFrameInWindowCoordinates);
 
             ::SetWindowBounds(windowRef(), kWindowStructureRgn, &bounds);
-#endif
             break;
         }
+#endif
 
         default:
             ASSERT_NOT_REACHED();