Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index ca6eb73d5cd6c48dc6ba74b1e84ed88d5a1752bd..8f23e5c96b7abab620e3071ff2cc1ca4b4aa6f40 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -158,16 +158,6 @@ bool ThreadProxy::CommitToActiveTree() const { |
return false; |
} |
-void ThreadProxy::SetLayerTreeHostClientReady() { |
- TRACE_EVENT0("cc", "ThreadProxy::SetLayerTreeHostClientReady"); |
- main().channel_main->SetLayerTreeHostClientReadyOnImpl(); |
-} |
- |
-void ThreadProxy::SetLayerTreeHostClientReadyOnImpl() { |
- TRACE_EVENT0("cc", "ThreadProxy::SetLayerTreeHostClientReadyOnImplThread"); |
- impl().scheduler->SetCanStart(); |
-} |
- |
void ThreadProxy::SetVisible(bool visible) { |
TRACE_EVENT1("cc", "ThreadProxy::SetVisible", "visible", visible); |
DebugScopedSetMainThreadBlocked main_thread_blocked(this); |
@@ -1037,7 +1027,8 @@ void ThreadProxy::InitializeImplOnImplThread(CompletionEvent* completion) { |
ImplThreadTaskRunner(), impl().external_begin_frame_source.get(), |
compositor_timing_history.Pass()); |
- impl().scheduler->SetVisible(impl().layer_tree_host_impl->visible()); |
+ DCHECK_EQ(impl().scheduler->visible(), |
+ impl().layer_tree_host_impl->visible()); |
impl_thread_weak_ptr_ = impl().weak_factory.GetWeakPtr(); |
completion->Signal(); |
} |