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

Unified Diff: cc/test/layer_tree_test_common.cc

Issue 12408028: cc: Delay start of scrollbar animation setNeedsRedraw. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more test expectations Created 7 years, 9 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
Index: cc/test/layer_tree_test_common.cc
diff --git a/cc/test/layer_tree_test_common.cc b/cc/test/layer_tree_test_common.cc
index 46e30898c2062d19a70440b593ab6e38a3230caa..55a94d3f37e5605952a9a01464baa310fbc2e5fd 100644
--- a/cc/test/layer_tree_test_common.cc
+++ b/cc/test/layer_tree_test_common.cc
@@ -510,7 +510,7 @@ void ThreadedTest::runTest(bool threaded)
m_mainCCThread->postTask(base::Bind(&ThreadedTest::doBeginTest, base::Unretained(this)));
m_timeout.Reset(base::Bind(&ThreadedTest::timeout, base::Unretained(this)));
- m_mainCCThread->postDelayedTask(m_timeout.callback(), 5000);
+ m_mainCCThread->postDelayedTask(m_timeout.callback(), base::TimeDelta::FromMilliseconds(5000));
jamesr 2013/03/18 01:09:55 FromSeconds(5)
MessageLoop::current()->Run();
if (m_layerTreeHost.get() && m_layerTreeHost->root_layer())
m_layerTreeHost->root_layer()->SetLayerTreeHost(NULL);

Powered by Google App Engine
This is Rietveld 408576698