Index: sky/engine/core/app/AbstractModule.cpp |
diff --git a/sky/engine/core/app/AbstractModule.cpp b/sky/engine/core/app/AbstractModule.cpp |
index a505f15e3cf5eec738dc45cb35cbbfc7d4447266..fccb59bf2216a456a4b555a5018f6ad3b664d239 100644 |
--- a/sky/engine/core/app/AbstractModule.cpp |
+++ b/sky/engine/core/app/AbstractModule.cpp |
@@ -41,7 +41,7 @@ void AbstractModule::OnModuleLoadComplete(ModuleLoader* loader, |
Module* module) { |
RefPtr<ScriptPromiseResolver> resolver = loaders_.take(loader); |
ScriptState::Scope scope(resolver->scriptState()); |
- resolver->resolve(module->exports().v8Value()); |
+ resolver->resolve(module->exports(resolver->scriptState()).v8Value()); |
} |
} // namespace blink |