Title: [120218] trunk/Source/WebKit2
- Revision
- 120218
- Author
- [email protected]
- Date
- 2012-06-13 09:38:42 -0700 (Wed, 13 Jun 2012)
Log Message
[Qt] Fixed visible content rect lost during page-load
https://bugs.webkit.org/show_bug.cgi?id=88991
Patch by Allan Sandfeld Jensen <[email protected]> on 2012-06-13
Reviewed by Kenneth Rohde Christiansen.
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (120217 => 120218)
--- trunk/Source/WebKit2/ChangeLog 2012-06-13 16:26:49 UTC (rev 120217)
+++ trunk/Source/WebKit2/ChangeLog 2012-06-13 16:38:42 UTC (rev 120218)
@@ -1,3 +1,13 @@
+2012-06-13 Allan Sandfeld Jensen <[email protected]>
+
+ [Qt] Fixed visible content rect lost during page-load
+ https://bugs.webkit.org/show_bug.cgi?id=88991
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
+
2012-06-13 Sheriff Bot <[email protected]>
Unreviewed, rolling out r120209.
Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp (120217 => 120218)
--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp 2012-06-13 16:26:49 UTC (rev 120217)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp 2012-06-13 16:38:42 UTC (rev 120218)
@@ -1219,6 +1219,8 @@
m_frame->coreFrame()->createView(webPage->size(), backgroundColor, /* transparent */ false, IntSize(), shouldUseFixedLayout);
m_frame->coreFrame()->view()->setTransparent(!webPage->drawsBackground());
+ if (shouldUseFixedLayout)
+ m_frame->coreFrame()->view()->setFixedVisibleContentRect(webPage->bounds());
}
void WebFrameLoaderClient::didSaveToPageCache()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes