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

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

Issue 2178263002: Add ExecutionContext and ScriptState support to blink::TaskRunnerHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 d3a5b19f21124188145988dc08c682a48977e07d..be7fc40006be54c20e0d6a154d1bd5c2ec7ce34c 100644
--- a/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
+++ b/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h
@@ -10,7 +10,9 @@
namespace blink {
class Document;
+class ExecutionContext;
class LocalFrame;
+class ScriptState;
class WebTaskRunner;
class TaskRunnerHelper final {
@@ -22,6 +24,8 @@ public:
static WebTaskRunner* getUnthrottledTaskRunner(Document*);
static WebTaskRunner* getTimerTaskRunner(Document*);
static WebTaskRunner* getLoadingTaskRunner(Document*);
+ static WebTaskRunner* getUnthrottledTaskRunner(ExecutionContext*);
+ static WebTaskRunner* getUnthrottledTaskRunner(ScriptState*);
};
} // namespace blink
« 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