Index: sky/engine/core/script/dart_controller.h |
diff --git a/sky/engine/core/script/dart_controller.h b/sky/engine/core/script/dart_controller.h |
index ece69b2eb61ece97fab387395850959cfee0ad92..5e2717ec59c914faf7bbb74febbc31eeee8c17bf 100644 |
--- a/sky/engine/core/script/dart_controller.h |
+++ b/sky/engine/core/script/dart_controller.h |
@@ -18,7 +18,6 @@ class AbstractModule; |
class BuiltinSky; |
class DOMDartState; |
class DartValue; |
-class Document; |
class HTMLScriptElement; |
class KURL; |
@@ -43,7 +42,8 @@ class DartController { |
HTMLScriptElement* script); |
void ClearForClose(); |
- void CreateIsolateFor(Document* document); |
+ void CreateIsolateFor(PassOwnPtr<DOMDartState> dom_dart_state, |
+ const KURL& url); |
DOMDartState* dart_state() const { return dom_dart_state_.get(); } |