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

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

Issue 2865003002: Make ModulatorImpl execution-context-agnostic (Closed)
Patch Set: Created 3 years, 7 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/ModulatorImpl.h
diff --git a/third_party/WebKit/Source/core/dom/ModulatorImpl.h b/third_party/WebKit/Source/core/dom/ModulatorImpl.h
index b4f2afdabd6eb30acc8fe892126de12539b679f2..c971e761bbee31a9302eeec478d8a3edb372affa 100644
--- a/third_party/WebKit/Source/core/dom/ModulatorImpl.h
+++ b/third_party/WebKit/Source/core/dom/ModulatorImpl.h
@@ -14,7 +14,6 @@
namespace blink {
-class Document;
class ExecutionContext;
class ModuleMap;
class ModuleScriptLoaderRegistry;
@@ -29,7 +28,7 @@ class WebTaskRunner;
// components together.
class ModulatorImpl final : public Modulator {
public:
- static ModulatorImpl* Create(RefPtr<ScriptState>, Document&);
+ static ModulatorImpl* Create(RefPtr<ScriptState>, ResourceFetcher*);
virtual ~ModulatorImpl();
DECLARE_TRACE();
@@ -67,7 +66,7 @@ class ModulatorImpl final : public Modulator {
Vector<String> ModuleRequestsFromScriptModule(ScriptModule) override;
void ExecuteModule(const ModuleScript*) override;
- ModulatorImpl(RefPtr<ScriptState>, RefPtr<WebTaskRunner>, ResourceFetcher*);
+ ModulatorImpl(RefPtr<ScriptState>, ResourceFetcher*);
ExecutionContext* GetExecutionContext() const;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Modulator.cpp ('k') | third_party/WebKit/Source/core/dom/ModulatorImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698