Index: third_party/WebKit/Source/core/dom/TaskRunnerHelper.h |
diff --git a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h |
index af9cda1c2acdcfa701180f80ef0d267e58aef9e6..0ca15474dfc6083ea8782ceea86e02ed3b156a2e 100644 |
--- a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h |
+++ b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h |
@@ -78,10 +78,10 @@ class CORE_EXPORT TaskRunnerHelper final { |
STATIC_ONLY(TaskRunnerHelper); |
public: |
- static WebTaskRunner* get(TaskType, LocalFrame*); |
- static WebTaskRunner* get(TaskType, Document*); |
- static WebTaskRunner* get(TaskType, ExecutionContext*); |
- static WebTaskRunner* get(TaskType, ScriptState*); |
+ static RefPtr<WebTaskRunner> get(TaskType, LocalFrame*); |
+ static RefPtr<WebTaskRunner> get(TaskType, Document*); |
+ static RefPtr<WebTaskRunner> get(TaskType, ExecutionContext*); |
+ static RefPtr<WebTaskRunner> get(TaskType, ScriptState*); |
}; |
} // namespace blink |