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

Unified Diff: public/platform/WebScheduler.h

Issue 956333002: Refactor TimeBase to post tasks. Workers to use real Idle tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Some of Ross's suggestions Created 5 years, 8 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
« Source/core/workers/WorkerThreadTest.cpp ('K') | « public/platform/Platform.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebScheduler.h
diff --git a/public/platform/WebScheduler.h b/public/platform/WebScheduler.h
index 463d1300af735ada6a105b97c63716c5c66145e6..0ae519247e2fafe09968003186dbe04f25dd8c45 100644
--- a/public/platform/WebScheduler.h
+++ b/public/platform/WebScheduler.h
@@ -66,8 +66,8 @@ public:
#ifdef INSIDE_BLINK
// Helpers for posting bound functions as tasks.
- typedef Function<void(double deadlineSeconds)> IdleTask;
- typedef Function<void()> Task;
+ typedef WTF::Function<void(double deadlineSeconds)> IdleTask;
+ typedef WTF::Function<void()> Task;
void postIdleTask(const WebTraceLocation&, PassOwnPtr<IdleTask>);
void postNonNestableIdleTask(const WebTraceLocation&, PassOwnPtr<IdleTask>);
« Source/core/workers/WorkerThreadTest.cpp ('K') | « public/platform/Platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698