Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1779)

Unified Diff: cc/trees/layer_tree_settings.cc

Issue 2354673003: Add setting to disable latency recovery for tests (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_settings.cc
diff --git a/cc/trees/layer_tree_settings.cc b/cc/trees/layer_tree_settings.cc
index 7dc4a85a0f0466a2c8b28e4f0ff5167883cf6507..171428ac140b6f2936be6c883e488e73c7c8213a 100644
--- a/cc/trees/layer_tree_settings.cc
+++ b/cc/trees/layer_tree_settings.cc
@@ -32,6 +32,7 @@ bool LayerTreeSettings::operator==(const LayerTreeSettings& other) const {
other.main_frame_before_activation_enabled &&
using_synchronous_renderer_compositor ==
other.using_synchronous_renderer_compositor &&
+ enable_latency_recovery == other.enable_latency_recovery &&
can_use_lcd_text == other.can_use_lcd_text &&
use_distance_field_text == other.use_distance_field_text &&
gpu_rasterization_enabled == other.gpu_rasterization_enabled &&
@@ -96,6 +97,7 @@ SchedulerSettings LayerTreeSettings::ToSchedulerSettings() const {
timeout_and_draw_when_animation_checkerboards;
scheduler_settings.using_synchronous_renderer_compositor =
using_synchronous_renderer_compositor;
+ scheduler_settings.enable_latency_recovery = enable_latency_recovery;
scheduler_settings.background_frame_interval =
base::TimeDelta::FromSecondsD(1.0 / background_animation_rate);
scheduler_settings.abort_commit_before_compositor_frame_sink_creation =
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698