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

Unified Diff: ui/compositor/compositor.cc

Issue 85693007: cc: Defer first OutputSurface creation until client is ready (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index b4ad3ef98a95a722ebd315de091f49f9e8596fba..f202a526a052c7d7b4bb4b04a60322de09b30658 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -292,7 +292,7 @@ Compositor::Compositor(gfx::AcceleratedWidget widget)
host_ = cc::LayerTreeHost::CreateSingleThreaded(this, this, NULL, settings);
}
host_->SetRootLayer(root_web_layer_);
- host_->SetLayerTreeHostClientReady();
+ host_->SetLayerTreeHostClientReady(CreateOutputSurface(false));
}
Compositor::~Compositor() {

Powered by Google App Engine
This is Rietveld 408576698