[Qt] r115300 broke the Qt build on Mac OS X.
authorahf@0x90.dk <ahf@0x90.dk@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Apr 2012 11:52:15 +0000 (11:52 +0000)
committerahf@0x90.dk <ahf@0x90.dk@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Apr 2012 11:52:15 +0000 (11:52 +0000)
This patch adds guards around the createPluginContainer and
windowedPluginGeometryDidChange member functions in WebPageProxy.

Unreviewed build fix.

* UIProcess/qt/WebPageProxyQt.cpp:
(WebKit):

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/qt/WebPageProxyQt.cpp

index a8359f2..35cd7be 100644 (file)
@@ -1,3 +1,15 @@
+2012-04-26  Alexander Færøy  <ahf@0x90.dk>
+
+        [Qt] r115300 broke the Qt build on Mac OS X.
+
+        This patch adds guards around the createPluginContainer and
+        windowedPluginGeometryDidChange member functions in WebPageProxy.
+
+        Unreviewed build fix.
+
+        * UIProcess/qt/WebPageProxyQt.cpp:
+        (WebKit):
+
 2012-04-26  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         [GTK][WebKit2] Initial windowed plugins implementation
index 16bb69e..ae3c4aa 100644 (file)
@@ -102,6 +102,7 @@ void WebPageProxy::sendApplicationSchemeReply(const QQuickNetworkReply* reply)
     }
 }
 
+#if PLUGIN_ARCHITECTURE(X11)
 void WebPageProxy::createPluginContainer(uint64_t& windowID)
 {
     notImplemented();
@@ -111,5 +112,6 @@ void WebPageProxy::windowedPluginGeometryDidChange(const WebCore::IntRect& frame
 {
     notImplemented();
 }
+#endif
 
 } // namespace WebKit