Title: [101902] trunk/Source/WebKit2
Revision
101902
Author
[email protected]
Date
2011-12-02 21:26:52 -0800 (Fri, 02 Dec 2011)

Log Message

[Qt] [WK2] MiniBrowser --touch asserts in debug build
https://bugs.webkit.org/show_bug.cgi?id=73697

Patch by Viatcheslav Ostapenko <[email protected]> on 2011-12-02
Reviewed by Eric Seidel.

Add missing guard to QtViewportInteractionEngine::itemSizeChanged().

* UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::itemSizeChanged):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (101901 => 101902)


--- trunk/Source/WebKit2/ChangeLog	2011-12-03 04:59:22 UTC (rev 101901)
+++ trunk/Source/WebKit2/ChangeLog	2011-12-03 05:26:52 UTC (rev 101902)
@@ -1,3 +1,15 @@
+2011-12-02  Viatcheslav Ostapenko  <[email protected]>
+
+        [Qt] [WK2] MiniBrowser --touch asserts in debug build
+        https://bugs.webkit.org/show_bug.cgi?id=73697
+
+        Reviewed by Eric Seidel.
+
+        Add missing guard to QtViewportInteractionEngine::itemSizeChanged().
+
+        * UIProcess/qt/QtViewportInteractionEngine.cpp:
+        (WebKit::QtViewportInteractionEngine::itemSizeChanged):
+
 2011-12-02  Fady Samuel  <[email protected]>
 
         When page scaling is in use position:fixed has incorrect results

Modified: trunk/Source/WebKit2/UIProcess/qt/QtViewportInteractionEngine.cpp (101901 => 101902)


--- trunk/Source/WebKit2/UIProcess/qt/QtViewportInteractionEngine.cpp	2011-12-03 04:59:22 UTC (rev 101901)
+++ trunk/Source/WebKit2/UIProcess/qt/QtViewportInteractionEngine.cpp	2011-12-03 05:26:52 UTC (rev 101902)
@@ -517,6 +517,7 @@
     if (m_suspendCount)
         return;
 
+    ViewportUpdateDeferrer guard(this);
     ensureContentWithinViewportBoundary();
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to