Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 03969f2731c73b674b22ecf45f0f4bb01eb3145c..39aba4c03e3cebf1160e0151c44dd232800a7d38 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -140,7 +140,9 @@ void LayerTreeHost::InitializeSingleThreaded( |
LayerTreeHostSingleThreadClient* single_thread_client, |
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner) { |
InitializeProxy( |
- SingleThreadProxy::Create(this, single_thread_client, main_task_runner)); |
+ SingleThreadProxy::Create(this, |
+ single_thread_client, |
+ main_task_runner)); |
} |
void LayerTreeHost::InitializeForTesting(scoped_ptr<Proxy> proxy_for_testing) { |
@@ -437,6 +439,8 @@ void LayerTreeHost::DidLoseOutputSurface() { |
if (output_surface_lost_) |
return; |
+ client_->DidLoseOutputSurface(); |
brianderson
2014/09/04 18:45:46
Why is this needed?
|
+ |
num_failed_recreate_attempts_ = 0; |
output_surface_lost_ = true; |
SetNeedsCommit(); |
@@ -1295,4 +1299,16 @@ void LayerTreeHost::BreakSwapPromises(SwapPromise::DidNotSwapReason reason) { |
swap_promise_list_.clear(); |
} |
+void LayerTreeHost::SetAuthoritativeVSyncInterval(base::TimeDelta interval) { |
+ proxy_->SetAuthoritativeVSyncInterval(interval); |
+} |
+ |
+void LayerTreeHost::SetChildrenNeedBeginFrames(bool need_begin_frame) { |
+ proxy_->SetChildrenNeedBeginFrames(need_begin_frame); |
+} |
+ |
+void LayerTreeHost::SendBeginFrameToChildren(const BeginFrameArgs& args) { |
+ client_->SendBeginFrameToChildren(args); |
+} |
+ |
} // namespace cc |