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

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

Issue 2903813002: [ES6 modules] Fix context leak. ModuleScript should use TraceWrapperV8Reference to hold onto v8::Mo… (Closed)
Patch Set: testfix 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/Modulator.h
diff --git a/third_party/WebKit/Source/core/dom/Modulator.h b/third_party/WebKit/Source/core/dom/Modulator.h
index 9acdc66ab02108331c02a53cc25aaa1734d3ea29..68f072e1f8222f936f09cf6a417b75d876a15c13 100644
--- a/third_party/WebKit/Source/core/dom/Modulator.h
+++ b/third_party/WebKit/Source/core/dom/Modulator.h
@@ -70,6 +70,7 @@ class CORE_EXPORT Modulator : public GarbageCollectedFinalized<Modulator>,
virtual WebTaskRunner* TaskRunner() = 0;
virtual ReferrerPolicy GetReferrerPolicy() = 0;
virtual SecurityOrigin* GetSecurityOrigin() = 0;
+ virtual ScriptState* GetScriptState() = 0;
// https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-module-script-tree
virtual void FetchTree(const ModuleScriptFetchRequest&,
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp ('k') | third_party/WebKit/Source/core/dom/ModulatorImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698