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

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

Issue 2550373005: Make WebTaskRunner ThreadSafeRefCounted (Closed)
Patch Set: mac fix Created 4 years 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 ffd59c38eaf5bc31f6a78ed477dcffb7f95686d7..82f32b23f5756a6a5e6cd57ee2c459d41fa9098f 100644
--- a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
+++ b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
@@ -64,10 +64,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

Powered by Google App Engine
This is Rietveld 408576698