Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp b/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| index 16081ff5eb37c2bf63ca026d05ba3e5108da2972..f7286dfe173f7aa918a9872fe5c99cddef4ea788 100644 |
| --- a/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| +++ b/third_party/WebKit/Source/core/dom/ModulatorImpl.cpp |
| @@ -111,6 +111,10 @@ ModuleScript* ModulatorImpl::GetFetchedModuleScript(const KURL& url) { |
| return map_->GetFetchedModuleScript(url); |
| } |
| +bool ModulatorImpl::IsContextValid() { |
|
neis
2017/05/16 09:10:55
Could you rename this to ContextIsValid (for consi
kouhei (in TOK)
2017/05/16 17:52:34
Done.
|
| + return script_state_->ContextIsValid(); |
| +} |
| + |
| ScriptModule ModulatorImpl::CompileModule( |
| const String& provided_source, |
| const String& url_str, |