Index: cc/trees/single_thread_proxy.cc |
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc |
index ff2ea9004141b4df8e91fc3de8bef8b2fde96f11..7d3383a1951e3afc797708408dd42f9abbff1d15 100644 |
--- a/cc/trees/single_thread_proxy.cc |
+++ b/cc/trees/single_thread_proxy.cc |
@@ -113,6 +113,14 @@ void SingleThreadProxy::SetVisible(bool visible) { |
// Changing visibility could change ShouldComposite(). |
} |
+void SingleThreadProxy::SetThrottleFrameProduction(bool throttle) { |
+ TRACE_EVENT1("cc", "SingleThreadProxy::SetThrottleFrameProduction", |
+ "throttle", throttle); |
+ DebugScopedSetImplThread impl(this); |
+ if (scheduler_on_impl_thread_) |
+ scheduler_on_impl_thread_->SetThrottleFrameProduction(throttle); |
+} |
+ |
void SingleThreadProxy::RequestNewOutputSurface() { |
DCHECK(Proxy::IsMainThread()); |
DCHECK(layer_tree_host_->output_surface_lost()); |