Title: [97465] trunk/Source/WebKit2
- Revision
- 97465
- Author
- [email protected]
- Date
- 2011-10-14 07:49:49 -0700 (Fri, 14 Oct 2011)
Log Message
Do not cache m_resizesToContentsLayoutSize on WebKit2's WebPage
https://bugs.webkit.org/show_bug.cgi?id=66134
Unreviewed build fix after r97462.
Patch by Kenneth Rohde Christiansen <[email protected]> on 2011-10-14
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (97464 => 97465)
--- trunk/Source/WebKit2/ChangeLog 2011-10-14 14:43:32 UTC (rev 97464)
+++ trunk/Source/WebKit2/ChangeLog 2011-10-14 14:49:49 UTC (rev 97465)
@@ -3,6 +3,16 @@
Do not cache m_resizesToContentsLayoutSize on WebKit2's WebPage
https://bugs.webkit.org/show_bug.cgi?id=66134
+ Unreviewed build fix after r97462.
+
+ * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+ (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
+
+2011-10-14 Kenneth Rohde Christiansen <[email protected]>
+
+ Do not cache m_resizesToContentsLayoutSize on WebKit2's WebPage
+ https://bugs.webkit.org/show_bug.cgi?id=66134
+
Reviewed by Simon Hausmann.
Do the resize to contents on the web process side.
Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp (97464 => 97465)
--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp 2011-10-14 14:43:32 UTC (rev 97464)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp 2011-10-14 14:49:49 UTC (rev 97465)
@@ -1113,7 +1113,6 @@
{
WebPage* webPage = m_frame->page();
Color backgroundColor = webPage->drawsTransparentBackground() ? Color::transparent : Color::white;
- FrameView* view = m_frame->coreFrame()->view();
bool isMainFrame = webPage->mainWebFrame() == m_frame;
@@ -1121,7 +1120,7 @@
IntSize currentVisibleContentSize;
IntSize fixedLayoutSize;
- if (view) {
+ if (FrameView* view = m_frame->coreFrame()->view()) {
currentVisibleContentSize = view->visibleContentRect().size();
fixedLayoutSize = view->fixedLayoutSize();
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes