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

Unified Diff: cc/test/layer_tree_test.cc

Issue 13674006: cc: Use refresh_rate from LayerTreeSettings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Speed up all the tests. 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 | « no previous file | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 51a1a6131a41461ec15e9558ea7639c255bee6ac..2bb2883b02699ca7b016e3fbad88bf0d404f0127 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -525,6 +525,8 @@ void LayerTreeTest::RunTest(bool threaded) {
main_ccthread_ = cc::ThreadImpl::CreateForCurrentThread();
+ // Spend less time waiting for vsync because the output is mocked out.
+ settings_.refresh_rate = 200.0;
InitializeSettings(&settings_);
main_ccthread_->PostTask(
« no previous file with comments | « no previous file | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698