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

Unified Diff: cc/trees/thread_proxy.cc

Issue 13577005: cc: Prevent checkerboarded animations from timing out during tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index f824c9b814f118cebe20ba132b27d5837e1a6a55..237d2ac8f08ad7edb2968c29b88d5da815707dd7 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -1095,9 +1095,11 @@ void ThreadProxy::InitializeImplOnImplThread(CompletionEvent* completion,
} else {
frame_rate_controller.reset(new FrameRateController(Proxy::ImplThread()));
}
+ const LayerTreeSettings& settings = layer_tree_host_->settings();
SchedulerSettings scheduler_settings;
- scheduler_settings.impl_side_painting =
- layer_tree_host_->settings().impl_side_painting;
+ scheduler_settings.impl_side_painting = settings.impl_side_painting;
+ scheduler_settings.timeout_and_draw_when_animation_checkerboards =
+ settings.timeout_and_draw_when_animation_checkerboards;
scheduler_on_impl_thread_ = Scheduler::Create(this,
frame_rate_controller.Pass(),
scheduler_settings);
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698