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

Unified Diff: Source/platform/scheduler/Scheduler.h

Issue 705003002: Change the return type of WTF::bind() to |OwnPtr<Function>| (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 1 month 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: Source/platform/scheduler/Scheduler.h
diff --git a/Source/platform/scheduler/Scheduler.h b/Source/platform/scheduler/Scheduler.h
index 62b08a69f0f1098aa97ad97e13f2f57f9e48767a..89449d04158d2412a6ec31cabd17af05312edc6d 100644
--- a/Source/platform/scheduler/Scheduler.h
+++ b/Source/platform/scheduler/Scheduler.h
@@ -27,7 +27,7 @@ public:
// For non-critical tasks which may be reordered relative to other task types and may be starved
// for an arbitrarily long time if no idle time is available.
- void postIdleTask(const TraceLocation&, const IdleTask&);
+ void postIdleTask(const TraceLocation&, PassOwnPtr<IdleTask>);
// Returns true if there is high priority work pending on the main thread
// and the caller should yield to let the scheduler service that work.

Powered by Google App Engine
This is Rietveld 408576698