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

Unified Diff: cc/trees/layer_tree_host.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/layer_tree_host.h ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index f42311604d68c2944a9d9926c3012ea6ed581e4a..ee76c66ea708ea54de52b790005cef3461b2994f 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -101,7 +101,7 @@ LayerTreeHost::LayerTreeHost(InitParams* params)
top_controls_shown_ratio_(0.f),
hide_pinch_scrollbars_near_min_scale_(false),
device_scale_factor_(1.f),
- visible_(true),
+ visible_(false),
page_scale_factor_(1.f),
min_page_scale_factor_(1.f),
max_page_scale_factor_(1.f),
@@ -203,10 +203,6 @@ LayerTreeHost::~LayerTreeHost() {
}
}
-void LayerTreeHost::SetLayerTreeHostClientReady() {
- proxy_->SetLayerTreeHostClientReady();
-}
-
void LayerTreeHost::WillBeginMainFrame() {
devtools_instrumentation::WillBeginMainThreadFrame(id(),
source_frame_number());
@@ -682,7 +678,6 @@ void LayerTreeHost::LayoutAndUpdateLayers() {
DCHECK(!settings_.single_thread_proxy_scheduler);
SingleThreadProxy* proxy = static_cast<SingleThreadProxy*>(proxy_.get());
- SetLayerTreeHostClientReady();
proxy->LayoutAndUpdateLayers();
}
@@ -692,7 +687,6 @@ void LayerTreeHost::Composite(base::TimeTicks frame_begin_time) {
DCHECK(!settings_.single_thread_proxy_scheduler);
SingleThreadProxy* proxy = static_cast<SingleThreadProxy*>(proxy_.get());
- SetLayerTreeHostClientReady();
proxy->CompositeImmediately(frame_begin_time);
}
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698