Title: [134414] trunk/Source/WebKit2
- Revision
- 134414
- Author
- [email protected]
- Date
- 2012-11-13 07:15:04 -0800 (Tue, 13 Nov 2012)
Log Message
[WK2] TiledBackingStore: WebChromeClient::pageRect() should consider viewport size
https://bugs.webkit.org/show_bug.cgi?id=101946
Patch by Mikhail Pozdnyakov <[email protected]> on 2012-11-13
Reviewed by Noam Rosenthal.
WebChromeClient::pageRect() should consider viewport size when TILED_BACKING_STORE enabled.
Based on patch by Kenneth Rohde Christiansen.
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::pageRect):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (134413 => 134414)
--- trunk/Source/WebKit2/ChangeLog 2012-11-13 15:15:03 UTC (rev 134413)
+++ trunk/Source/WebKit2/ChangeLog 2012-11-13 15:15:04 UTC (rev 134414)
@@ -1,3 +1,17 @@
+2012-11-13 Mikhail Pozdnyakov <[email protected]>
+
+ [WK2] TiledBackingStore: WebChromeClient::pageRect() should consider viewport size
+ https://bugs.webkit.org/show_bug.cgi?id=101946
+
+ Reviewed by Noam Rosenthal.
+
+ WebChromeClient::pageRect() should consider viewport size when TILED_BACKING_STORE enabled.
+
+ Based on patch by Kenneth Rohde Christiansen.
+
+ * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+ (WebKit::WebChromeClient::pageRect):
+
2012-11-13 Huang Dongsung <[email protected]>
Coordinated Graphics: Directly composited animated GIFs only render the first image.
Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp (134413 => 134414)
--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp 2012-11-13 15:15:03 UTC (rev 134413)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp 2012-11-13 15:15:04 UTC (rev 134414)
@@ -118,7 +118,11 @@
FloatRect WebChromeClient::pageRect()
{
+#if USE(TILED_BACKING_STORE)
+ return FloatRect(FloatPoint(), m_page->viewportSize());
+#else
return FloatRect(FloatPoint(), m_page->size());
+#endif
}
void WebChromeClient::focus()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes