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

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

Issue 2645813002: Add TaskRunnerHelper::get for Frame that casts to LocalFrame if possible or uses nullptr. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0ca15474dfc6083ea8782ceea86e02ed3b156a2e..f37cbbf7f16803edc8bbbac762a5bebed4bb033a 100644
--- a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
+++ b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
@@ -13,6 +13,7 @@ namespace blink {
class Document;
class ExecutionContext;
+class Frame;
class LocalFrame;
class ScriptState;
class WebTaskRunner;
@@ -79,6 +80,7 @@ class CORE_EXPORT TaskRunnerHelper final {
public:
static RefPtr<WebTaskRunner> get(TaskType, LocalFrame*);
+ static RefPtr<WebTaskRunner> get(TaskType, Frame*);
static RefPtr<WebTaskRunner> get(TaskType, Document*);
static RefPtr<WebTaskRunner> get(TaskType, ExecutionContext*);
static RefPtr<WebTaskRunner> get(TaskType, ScriptState*);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698