Title: [121514] trunk/Source/WebKit/blackberry
Revision
121514
Author
[email protected]
Date
2012-06-28 19:52:06 -0700 (Thu, 28 Jun 2012)

Log Message

[BlackBerry] Checkerboard shown when clicking on error page buttons
https://bugs.webkit.org/show_bug.cgi?id=90152
RIM PR #161867

Reviewed by George Staikos.

Reset m_hasBlitJobs when resetting tiles to prevent ui thread from drawing checkerboard unintentionally.

* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::resetTiles):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/Api/BackingStore.cpp (121513 => 121514)


--- trunk/Source/WebKit/blackberry/Api/BackingStore.cpp	2012-06-29 02:50:27 UTC (rev 121513)
+++ trunk/Source/WebKit/blackberry/Api/BackingStore.cpp	2012-06-29 02:52:06 UTC (rev 121514)
@@ -1887,6 +1887,10 @@
 
 void BackingStorePrivate::resetTiles(bool resetBackground)
 {
+    // We need to reset m_hasBlitJobs to prevent ui thread from
+    // drawing checkerboard unintentionally. See RIM PR #161867.
+    m_hasBlitJobs = false;
+
     BackingStoreGeometry* currentState = frontState();
     TileMap currentMap = currentState->tileMap();
 

Modified: trunk/Source/WebKit/blackberry/ChangeLog (121513 => 121514)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-06-29 02:50:27 UTC (rev 121513)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-06-29 02:52:06 UTC (rev 121514)
@@ -1,3 +1,16 @@
+2012-06-28  Leo Yang  <[email protected]>
+
+        [BlackBerry] Checkerboard shown when clicking on error page buttons
+        https://bugs.webkit.org/show_bug.cgi?id=90152
+        RIM PR #161867
+
+        Reviewed by George Staikos.
+
+        Reset m_hasBlitJobs when resetting tiles to prevent ui thread from drawing checkerboard unintentionally.
+
+        * Api/BackingStore.cpp:
+        (BlackBerry::WebKit::BackingStorePrivate::resetTiles):
+
 2012-06-27  Andrew Lo  <[email protected]>
 
         [BlackBerry] Selection overlay can become visible after it has been hidden
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to