| Index: third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp b/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
|
| index 42910debcd6d043a72869b6758aa3e0b3b3a28a0..51fd2eaa4e20925330ec9f2dcc079e6f3a055e72 100644
|
| --- a/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "core/loader/modulescript/ModuleScriptLoader.h"
|
|
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/Modulator.h"
|
| #include "core/dom/ModuleScript.h"
|
| @@ -107,7 +108,7 @@ void ModuleScriptLoaderTest::SetUp() {
|
| m_fetcher = ResourceFetcher::create(
|
| MockFetchContext::create(MockFetchContext::kShouldLoadNewResource));
|
| m_modulator = new ModuleScriptLoaderTestModulator(
|
| - ScriptState::forMainWorld(&frame()), document().getSecurityOrigin());
|
| + toScriptStateForMainWorld(&frame()), document().getSecurityOrigin());
|
| }
|
|
|
| TEST_F(ModuleScriptLoaderTest, fetchDataURL) {
|
|
|