Index: cc/trees/layer_tree_settings.cc |
diff --git a/cc/trees/layer_tree_settings.cc b/cc/trees/layer_tree_settings.cc |
index 80e356e0c3a80fa5e71602242a7c0df12a1a4d66..c78f19a78271c54cc4a27e829f2e08d2dfbd3d82 100644 |
--- a/cc/trees/layer_tree_settings.cc |
+++ b/cc/trees/layer_tree_settings.cc |
@@ -75,7 +75,8 @@ LayerTreeSettings::LayerTreeSettings() |
verify_property_trees(false), |
gather_pixel_refs(false), |
use_compositor_animation_timelines(false), |
- invert_viewport_scroll_order(false) { |
+ invert_viewport_scroll_order(false), |
+ throttle_frame_production(true) { |
danakj
2015/07/01 19:47:23
can you make this name more closely match the flag
|
} |
LayerTreeSettings::~LayerTreeSettings() {} |
@@ -93,8 +94,9 @@ SchedulerSettings LayerTreeSettings::ToSchedulerSettings() const { |
maximum_number_of_failed_draws_before_draw_is_forced_; |
scheduler_settings.using_synchronous_renderer_compositor = |
using_synchronous_renderer_compositor; |
- scheduler_settings.throttle_frame_production = |
- !renderer_settings.disable_gpu_vsync; |
+ |
danakj
2015/07/01 19:47:23
remove whitespace
|
+ scheduler_settings.throttle_frame_production = throttle_frame_production; |
+ |
danakj
2015/07/01 19:47:23
remove whitespace
|
scheduler_settings.main_thread_should_always_be_low_latency = false; |
scheduler_settings.background_frame_interval = |
base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); |