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

Unified Diff: sky/engine/core/frame/LocalFrame.cpp

Issue 691453002: Remove a lot of Widget APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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: sky/engine/core/frame/LocalFrame.cpp
diff --git a/sky/engine/core/frame/LocalFrame.cpp b/sky/engine/core/frame/LocalFrame.cpp
index 64b11aa2b1daddd236473f7fd36b10f7085eaf83..c102ae36e50f5165fa65b78966b3f08a371a8ee6 100644
--- a/sky/engine/core/frame/LocalFrame.cpp
+++ b/sky/engine/core/frame/LocalFrame.cpp
@@ -307,9 +307,6 @@ void LocalFrame::createView(const IntSize& viewportSize, const Color& background
ASSERT(this);
ASSERT(page());
- if (view())
- view()->setParentVisible(false);
-
setView(nullptr);
RefPtr<FrameView> frameView;
@@ -321,8 +318,6 @@ void LocalFrame::createView(const IntSize& viewportSize, const Color& background
setView(frameView);
frameView->updateBackgroundRecursively(backgroundColor, transparent);
-
- frameView->setParentVisible(true);
}

Powered by Google App Engine
This is Rietveld 408576698