Title: [131294] trunk/Tools
Revision
131294
Author
[email protected]
Date
2012-10-15 03:37:24 -0700 (Mon, 15 Oct 2012)

Log Message

[Qt][WK2] Buildfix for newer Qt5.
https://bugs.webkit.org/show_bug.cgi?id=99303

Reviewed by Simon Hausmann.

* WebKitTestRunner/qt/PlatformWebViewQt.cpp:
(WTR::PlatformWebView::resizeTo):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (131293 => 131294)


--- trunk/Tools/ChangeLog	2012-10-15 10:00:43 UTC (rev 131293)
+++ trunk/Tools/ChangeLog	2012-10-15 10:37:24 UTC (rev 131294)
@@ -1,3 +1,13 @@
+2012-10-15  Csaba Osztrogonác  <[email protected]>
+
+        [Qt][WK2] Buildfix for newer Qt5.
+        https://bugs.webkit.org/show_bug.cgi?id=99303
+
+        Reviewed by Simon Hausmann.
+
+        * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
+        (WTR::PlatformWebView::resizeTo):
+
 2012-10-14  Jon Lee  <[email protected]>
 
         Allow notification origin permission request when no js callback is provided

Modified: trunk/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp (131293 => 131294)


--- trunk/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp	2012-10-15 10:00:43 UTC (rev 131293)
+++ trunk/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp	2012-10-15 10:37:24 UTC (rev 131294)
@@ -95,7 +95,8 @@
     // resized to what the layout test expects.
     if (!m_window->handle()) {
         QRect newGeometry(m_window->x(), m_window->y(), width, height);
-        QWindowSystemInterface::handleSynchronousGeometryChange(m_window, newGeometry);
+        QWindowSystemInterface::handleGeometryChange(m_window, newGeometry);
+        QWindowSystemInterface::flushWindowSystemEvents();
     }
 
     m_window->resize(width, height);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to