Title: [139759] trunk/Source/WebKit/blackberry
- Revision
- 139759
- Author
- zhaji...@rim.com
- Date
- 2013-01-15 11:00:28 -0800 (Tue, 15 Jan 2013)
Log Message
[BlackBerry] Manual zoom propagates to next page load
https://bugs.webkit.org/show_bug.cgi?id=106914
Patch by Jacky Jiang <zhaji...@rim.com>.
Reviewed by Yong Li.
Internally reviewed by Eli Fidler and Jakob Petsovits.
PR: 280481
During load committed, the web page scale was reset. However, UI thread
still kept the old scale in UserInterfaceViewportAccessor so that it
blitted the contents at the old scale although WebKit thread could
update the UI thread scale later when finished the load.
We should update the scale of the UI thread right after we reset it in
WebKit thread to keep them in sync.
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::resetScales):
Modified Paths
Diff
Modified: trunk/Source/WebKit/blackberry/Api/WebPage.cpp (139758 => 139759)
--- trunk/Source/WebKit/blackberry/Api/WebPage.cpp 2013-01-15 18:56:19 UTC (rev 139758)
+++ trunk/Source/WebKit/blackberry/Api/WebPage.cpp 2013-01-15 19:00:28 UTC (rev 139759)
@@ -1779,6 +1779,7 @@
m_initialScale = m_webSettings->initialScale() > 0 ? m_webSettings->initialScale() : -1.0;
m_minimumScale = -1.0;
m_maximumScale = -1.0;
+ m_client->scaleChanged();
// We have to let WebCore know about updated framerect now that we've
// reset our scales. See: RIM Bug #401.
Modified: trunk/Source/WebKit/blackberry/ChangeLog (139758 => 139759)
--- trunk/Source/WebKit/blackberry/ChangeLog 2013-01-15 18:56:19 UTC (rev 139758)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2013-01-15 19:00:28 UTC (rev 139759)
@@ -1,3 +1,22 @@
+2013-01-15 Jacky Jiang <zhaji...@rim.com>
+
+ [BlackBerry] Manual zoom propagates to next page load
+ https://bugs.webkit.org/show_bug.cgi?id=106914
+
+ Reviewed by Yong Li.
+ Internally reviewed by Eli Fidler and Jakob Petsovits.
+
+ PR: 280481
+ During load committed, the web page scale was reset. However, UI thread
+ still kept the old scale in UserInterfaceViewportAccessor so that it
+ blitted the contents at the old scale although WebKit thread could
+ update the UI thread scale later when finished the load.
+ We should update the scale of the UI thread right after we reset it in
+ WebKit thread to keep them in sync.
+
+ * Api/WebPage.cpp:
+ (BlackBerry::WebKit::WebPagePrivate::resetScales):
+
2013-01-14 Otto Derek Cheung <otche...@rim.com>
[BlackBerry] FCC appears when switching search engine providers
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes