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

Unified Diff: third_party/WebKit/Source/core/dom/TaskRunnerHelper.h

Issue 2550373005: Make WebTaskRunner ThreadSafeRefCounted (Closed)
Patch Set: +DISALLOW_COPY_AND_ASSIGN for win build fix Created 3 years, 11 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
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
« no previous file with comments | « third_party/WebKit/Source/core/dom/ScriptRunner.cpp ('k') | third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698