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

Unified Diff: components/html_viewer/web_layer_tree_view_impl.cc

Issue 1385043002: cc: Remove SetLayerTreeHostClientReady() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@startcomp
Patch Set: sky's offline comment Created 5 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
« no previous file with comments | « cc/trees/threaded_channel.cc ('k') | components/mus/surfaces/surfaces_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/web_layer_tree_view_impl.cc
diff --git a/components/html_viewer/web_layer_tree_view_impl.cc b/components/html_viewer/web_layer_tree_view_impl.cc
index 2ee1c7537e067ce5e6b876359d7c82907ddaf475..0870aa8c5cea3e9b59555a657e3cf7d4b7c8d3e5 100644
--- a/components/html_viewer/web_layer_tree_view_impl.cc
+++ b/components/html_viewer/web_layer_tree_view_impl.cc
@@ -70,7 +70,7 @@ void WebLayerTreeViewImpl::Initialize(mojo::GpuPtr gpu_service,
output_surface_.reset(
new mus::OutputSurface(context_provider, view_->RequestSurface()));
}
- layer_tree_host_->SetLayerTreeHostClientReady();
+ layer_tree_host_->SetVisible(view_->visible());
}
WebLayerTreeViewImpl::~WebLayerTreeViewImpl() {
« no previous file with comments | « cc/trees/threaded_channel.cc ('k') | components/mus/surfaces/surfaces_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698