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

Unified Diff: cc/base/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: 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/base/thread_impl.h ('k') | cc/delay_based_time_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/thread_impl.cc
diff --git a/cc/base/thread_impl.cc b/cc/base/thread_impl.cc
index 0328e2744cde09ce7c7901e86ad3b5675605e17e..8e779cbf9d853f9c40a1dccd33c61c9569533570 100644
--- a/cc/base/thread_impl.cc
+++ b/cc/base/thread_impl.cc
@@ -24,9 +24,8 @@ void ThreadImpl::PostTask(base::Closure cb) {
thread_->PostTask(FROM_HERE, cb);
}
-void ThreadImpl::PostDelayedTask(base::Closure cb, long long delay_ms) {
- thread_->PostDelayedTask(
- FROM_HERE, cb, base::TimeDelta::FromMilliseconds(delay_ms));
+void ThreadImpl::PostDelayedTask(base::Closure cb, base::TimeDelta delay) {
+ thread_->PostDelayedTask(FROM_HERE, cb, delay);
}
bool ThreadImpl::BelongsToCurrentThread() const {
« no previous file with comments | « cc/base/thread_impl.h ('k') | cc/delay_based_time_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698