Index: Source/platform/scheduler/Scheduler.h |
diff --git a/Source/platform/scheduler/Scheduler.h b/Source/platform/scheduler/Scheduler.h |
index 62b08a69f0f1098aa97ad97e13f2f57f9e48767a..4813b21a53b2dad14c4906ae506c1abda1a3518c 100644 |
--- a/Source/platform/scheduler/Scheduler.h |
+++ b/Source/platform/scheduler/Scheduler.h |
@@ -8,6 +8,7 @@ |
#include "platform/PlatformExport.h" |
#include "wtf/Functional.h" |
#include "wtf/Noncopyable.h" |
+#include "wtf/PassOwnPtr.h" |
namespace blink { |
class TraceLocation; |
@@ -27,7 +28,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. |