Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 7c00672dde4022151d25ac9776410e819569b6a1..a7b35cde5f50136df162ab67ad13b51d247960aa 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -137,7 +137,8 @@ LayerTreeHost::LayerTreeHost( |
shared_bitmap_manager_(shared_bitmap_manager), |
gpu_memory_buffer_manager_(gpu_memory_buffer_manager), |
surface_id_namespace_(0u), |
- next_surface_sequence_(1u) { |
+ next_surface_sequence_(1u), |
+ swap_interval_(1) { |
if (settings_.accelerated_animation_enabled) |
animation_registrar_ = AnimationRegistrar::Create(); |
rendering_stats_instrumentation_->set_record_rendering_stats( |
@@ -741,6 +742,10 @@ void LayerTreeHost::SetVisible(bool visible) { |
proxy_->SetVisible(visible); |
} |
+void LayerTreeHost::SetThrottleFrameProduction(bool throttle) { |
+ proxy_->SetThrottleFrameProduction(throttle); |
+} |
+ |
void LayerTreeHost::StartPageScaleAnimation(const gfx::Vector2d& target_offset, |
bool use_anchor, |
float scale, |