Title: [139001] trunk/Source/WebKit/qt
Revision
139001
Author
[email protected]
Date
2013-01-07 15:29:12 -0800 (Mon, 07 Jan 2013)

Log Message

[qt] Fix ENABLE_IFRAME_SEAMLESS=0 builds.
https://bugs.webkit.org/show_bug.cgi?id=106252

Reviewed by Eric Seidel.

Wrap the call to setSeamlessIFramesEnabled in an ifdef in order
to ensure that it's only called when IFRAME_SEAMLESS is enabled.

* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::setSeamlessIFramesEnabled):

Modified Paths

Diff

Modified: trunk/Source/WebKit/qt/ChangeLog (139000 => 139001)


--- trunk/Source/WebKit/qt/ChangeLog	2013-01-07 23:26:41 UTC (rev 139000)
+++ trunk/Source/WebKit/qt/ChangeLog	2013-01-07 23:29:12 UTC (rev 139001)
@@ -1,5 +1,18 @@
 2013-01-07  Mike West  <[email protected]>
 
+        [qt] Fix ENABLE_IFRAME_SEAMLESS=0 builds.
+        https://bugs.webkit.org/show_bug.cgi?id=106252
+
+        Reviewed by Eric Seidel.
+
+        Wrap the call to setSeamlessIFramesEnabled in an ifdef in order
+        to ensure that it's only called when IFRAME_SEAMLESS is enabled.
+
+        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
+        (DumpRenderTreeSupportQt::setSeamlessIFramesEnabled):
+
+2013-01-07  Mike West  <[email protected]>
+
         Make the IFRAME_SEAMLESS flag runtime-enabled.
         https://bugs.webkit.org/show_bug.cgi?id=106213
 

Modified: trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp (139000 => 139001)


--- trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp	2013-01-07 23:26:41 UTC (rev 139000)
+++ trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp	2013-01-07 23:29:12 UTC (rev 139001)
@@ -1052,7 +1052,11 @@
 
 void DumpRenderTreeSupportQt::setSeamlessIFramesEnabled(bool enabled)
 {
+#if ENABLE(IFRAME_SEAMLESS)
     WebCore::RuntimeEnabledFeatures::setSeamlessIFramesEnabled(enabled);
+#else
+    UNUSED_PARAM(enabled);
+#endif
 }
 
 QString DumpRenderTreeSupportQt::frameRenderTreeDump(QWebFrameAdapter* adapter)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to