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

Unified Diff: cc/thread_impl.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/thread_impl.cc
diff --git a/cc/thread_impl.cc b/cc/thread_impl.cc
index cb6b20b1aff3651c1c94d156acd884ba35bfa560..2450af0e0d5f201a541d3f27472c565608d2d9a7 100644
--- a/cc/thread_impl.cc
+++ b/cc/thread_impl.cc
@@ -27,9 +27,9 @@ void ThreadImpl::postTask(base::Closure cb)
m_thread->PostTask(FROM_HERE, cb);
}
-void ThreadImpl::postDelayedTask(base::Closure cb, long long delayMs)
+void ThreadImpl::postDelayedTask(base::Closure cb, base::TimeDelta delay)
{
- m_thread->PostDelayedTask(FROM_HERE, cb, base::TimeDelta::FromMilliseconds(delayMs));
+ m_thread->PostDelayedTask(FROM_HERE, cb, delay);
}
bool ThreadImpl::belongsToCurrentThread() const
« cc/test/layer_tree_test_common.cc ('K') | « cc/thread_impl.h ('k') | cc/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698