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

Unified Diff: third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp

Issue 2796653003: Move ScriptState::forWorld/ScriptState::forMainWorld (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 8 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/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) {

Powered by Google App Engine
This is Rietveld 408576698