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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp

Issue 2803843002: Change Modulator functions to use ScriptState instead of LocalFrame (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptModuleTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
index 20d810889ca0486576cedbf7b1244f6a02f11b18..ef41fa196c841ae8366af9a066bcef2360375e01 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptModule.cpp
@@ -89,7 +89,7 @@ v8::MaybeLocal<v8::Module> ScriptModule::resolveModuleCallback(
v8::Local<v8::String> specifier,
v8::Local<v8::Module> referrer) {
v8::Isolate* isolate = context->GetIsolate();
- Modulator* modulator = Modulator::from(V8PerContextData::from(context));
+ Modulator* modulator = Modulator::from(ScriptState::from(context));
DCHECK(modulator);
ScriptModule referrerRecord(isolate, referrer);
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptModuleTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698