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

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: Rebase to 188682 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
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.h ('k') | cc/test/scheduler_test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8528a3c283a9965c18ed67beebd6e1f5fcfb45ae..35274e87143e46ebdca03e199b7efc468ff3e535 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::FromSeconds(5));
MessageLoop::current()->Run();
if (m_layerTreeHost.get() && m_layerTreeHost->root_layer())
m_layerTreeHost->root_layer()->SetLayerTreeHost(NULL);
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.h ('k') | cc/test/scheduler_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698