Index: sky/engine/core/html/parser/HTMLScriptRunner.cpp |
diff --git a/sky/engine/core/html/parser/HTMLScriptRunner.cpp b/sky/engine/core/html/parser/HTMLScriptRunner.cpp |
index 9b63629359405df3855fbd47d708fa42b2f6efa4..d1644a1bd4ad31b176749831f87efccbd1c603ee 100644 |
--- a/sky/engine/core/html/parser/HTMLScriptRunner.cpp |
+++ b/sky/engine/core/html/parser/HTMLScriptRunner.cpp |
@@ -59,7 +59,7 @@ void HTMLScriptRunner::executeScript(PassRefPtr<HTMLScriptElement> element, Text |
TemporaryChange<bool> executingScript(m_isExecutingScript, true); |
contextDocument->pushCurrentScript(element); |
- frame->script().executeModuleScript(sourceDocument, source, textPosition); |
+ frame->script().executeModuleScript(sourceDocument.module(), source, textPosition); |
contextDocument->popCurrentScript(); |
} |