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

Unified Diff: cc/base/thread.h

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 | « no previous file | cc/base/thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/thread.h
diff --git a/cc/base/thread.h b/cc/base/thread.h
index 62fb89c6bcb3f6172e397165a8663e4f5bd36170..44be3b4a399d81598c2ac1598a09fb71af68979d 100644
--- a/cc/base/thread.h
+++ b/cc/base/thread.h
@@ -7,6 +7,7 @@
#include "base/basictypes.h"
#include "base/callback.h"
+#include "base/time.h"
#include "cc/base/cc_export.h"
namespace cc {
@@ -21,7 +22,7 @@ class CC_EXPORT Thread {
virtual void PostTask(base::Closure cb) = 0;
// Executes the task after the specified delay.
- virtual void PostDelayedTask(base::Closure cb, long long delay_ms) = 0;
+ virtual void PostDelayedTask(base::Closure cb, base::TimeDelta delay) = 0;
virtual bool BelongsToCurrentThread() const = 0;
};
« no previous file with comments | « no previous file | cc/base/thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698