Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index ed7472d638ba891a70e9ae04a6384fc70068fde8..03969f2731c73b674b22ecf45f0f4bb01eb3145c 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -697,8 +697,12 @@ void LayerTreeHost::NotifyInputThrottledUntilCommit() { |
void LayerTreeHost::Composite(base::TimeTicks frame_begin_time) { |
DCHECK(!proxy_->HasImplThread()); |
+ // This function is only valid when not using the scheduler. |
+ DCHECK(!settings_.single_thread_proxy_scheduler); |
SingleThreadProxy* proxy = static_cast<SingleThreadProxy*>(proxy_.get()); |
+ SetLayerTreeHostClientReady(); |
+ |
if (output_surface_lost_) |
proxy->CreateAndInitializeOutputSurface(); |
if (output_surface_lost_) |