Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 51b9b4f2e33d31a0663ff35821a4b8ac0f21f482..08d5469874683efd5b7761f187dd3a33c3969048 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -675,8 +675,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_) |