Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Unified Diff: Source/core/frame/LocalFrame.cpp

Issue 380303003: Enable resize and layout for frames with RemoteFrame ancestors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/LocalFrame.cpp
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
index 366b8f016ab3270992d0c20a59aa0c703e6113e9..74df31e465828c0dd9db1ddd94fd7fe23acf28b1 100644
--- a/Source/core/frame/LocalFrame.cpp
+++ b/Source/core/frame/LocalFrame.cpp
@@ -367,7 +367,7 @@ void LocalFrame::createView(const IntSize& viewportSize, const Color& background
ASSERT(this);
ASSERT(page());
- bool isMainFrame = this->isMainFrame();
+ bool isMainFrame = this->isLocalRoot();
dcheng 2014/07/10 21:14:54 Should we rename the bool here too?
kenrb 2014/07/11 16:06:17 Done.
if (isMainFrame && view())
view()->setParentVisible(false);

Powered by Google App Engine
This is Rietveld 408576698