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 2e6260fefd3952a3c112dbc8210f8d1b39f3d1fb..45871f39771afc6d8beec4761f369ba5df65666e 100644 |
--- a/third_party/WebKit/Source/core/dom/Modulator.h |
+++ b/third_party/WebKit/Source/core/dom/Modulator.h |
@@ -99,6 +99,8 @@ class CORE_EXPORT Modulator : public GarbageCollectedFinalized<Modulator>, |
static KURL ResolveModuleSpecifier(const String& module_request, |
const KURL& base_url); |
+ virtual bool HasValidContext() = 0; |
+ |
virtual ScriptModule CompileModule(const String& script, |
const String& url_str, |
AccessControlStatus) = 0; |