Index: sky/engine/bindings/core/v8/ScriptController.h |
diff --git a/sky/engine/bindings/core/v8/ScriptController.h b/sky/engine/bindings/core/v8/ScriptController.h |
index 929268ff908137c0a99693ee64853cd93c7a746d..67f7e1042beedf37f9c31be6dd0219de046c7788 100644 |
--- a/sky/engine/bindings/core/v8/ScriptController.h |
+++ b/sky/engine/bindings/core/v8/ScriptController.h |
@@ -44,12 +44,12 @@ |
namespace blink { |
class DOMWrapperWorld; |
-class Document; |
class ExecutionContext; |
class Event; |
class HTMLDocument; |
class KURL; |
class LocalFrame; |
+class AbstractModule; |
class ScriptState; |
class ScriptSourceCode; |
class WindowProxy; |
@@ -72,7 +72,7 @@ public: |
v8::Local<v8::Value> executeScriptInMainWorldAndReturnValue(const ScriptSourceCode&); |
v8::Local<v8::Value> executeScriptAndReturnValue(v8::Handle<v8::Context>, const ScriptSourceCode&); |
- void executeModuleScript(Document& document, const String& source, const TextPosition& textPosition); |
+ void executeModuleScript(AbstractModule*, const String& source, const TextPosition& textPosition); |
eseidel
2014/11/10 23:30:19
I would use & based on our in-person discussion.
|
// Executes JavaScript in an isolated world. The script gets its own global scope, |
// its own prototypes for intrinsic JavaScript objects (String, Array, and so-on), |