Title: [137843] trunk/Source/WebKit/blackberry
- Revision
- 137843
- Author
- [email protected]
- Date
- 2012-12-16 10:36:45 -0800 (Sun, 16 Dec 2012)
Log Message
[BlackBerry] GUIMark3 page is rendered at a large scale during history navigation back
https://bugs.webkit.org/show_bug.cgi?id=105130
Patch by Jacky Jiang <[email protected]>.
Reviewed by George Staikos.
PR: 265999
During history navigation, UI thread can blit the contents at a bad
view state before WebKit thread restores the view state.
Suspend screen updates before goBackOrForward() and resume thereafter
so that screen can be updated after the correct view state is updated.
No need to render or blit here, as goBackOrForward() can dispatch a
message to WebKit thread to do that in WebPagePrivate::restoreHistoryViewState().
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::goBackOrForward):
Modified Paths
Diff
Modified: trunk/Source/WebKit/blackberry/Api/WebPage.cpp (137842 => 137843)
--- trunk/Source/WebKit/blackberry/Api/WebPage.cpp 2012-12-16 18:20:55 UTC (rev 137842)
+++ trunk/Source/WebKit/blackberry/Api/WebPage.cpp 2012-12-16 18:36:45 UTC (rev 137843)
@@ -3130,7 +3130,9 @@
bool WebPage::goBackOrForward(int delta)
{
if (d->m_page->canGoBackOrForward(delta)) {
+ d->m_backingStore->d->suspendScreenUpdates();
d->m_page->goBackOrForward(delta);
+ d->m_backingStore->d->resumeScreenUpdates(BackingStore::None);
return true;
}
return false;
Modified: trunk/Source/WebKit/blackberry/ChangeLog (137842 => 137843)
--- trunk/Source/WebKit/blackberry/ChangeLog 2012-12-16 18:20:55 UTC (rev 137842)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2012-12-16 18:36:45 UTC (rev 137843)
@@ -1,3 +1,21 @@
+2012-12-16 Jacky Jiang <[email protected]>
+
+ [BlackBerry] GUIMark3 page is rendered at a large scale during history navigation back
+ https://bugs.webkit.org/show_bug.cgi?id=105130
+
+ Reviewed by George Staikos.
+
+ PR: 265999
+ During history navigation, UI thread can blit the contents at a bad
+ view state before WebKit thread restores the view state.
+ Suspend screen updates before goBackOrForward() and resume thereafter
+ so that screen can be updated after the correct view state is updated.
+ No need to render or blit here, as goBackOrForward() can dispatch a
+ message to WebKit thread to do that in WebPagePrivate::restoreHistoryViewState().
+
+ * Api/WebPage.cpp:
+ (BlackBerry::WebKit::WebPage::goBackOrForward):
+
2012-12-15 Nima Ghanavatian <[email protected]>
[BlackBerry] Pass key modifiers with touch and mouse events
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes