Commit d2a77be4 authored by kenneth@webkit.org's avatar kenneth@webkit.org

Unreviewed build fix.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c5bedf96
2011-11-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
Unreviewed build fix.
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
2011-11-16 Kenneth Rohde Christiansen <kenneth@webkit.org>
Make use-fixed-layout work reliable
......
......@@ -1141,7 +1141,8 @@ void WebFrameLoaderClient::transitionToCommittedForNewPage()
WebPage* webPage = m_frame->page();
Color backgroundColor = webPage->drawsTransparentBackground() ? Color::transparent : Color::white;
bool shouldUseFixedLayout = webPage->mainWebFrame() == m_frame && webPage->useFixedLayout();
bool isMainFrame = webPage->mainWebFrame() == m_frame;
bool shouldUseFixedLayout = isMainFrame && webPage->useFixedLayout();
#if !USE(TILED_BACKING_STORE)
const ResourceResponse& response = m_frame->coreFrame()->loader()->documentLoader()->response();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment