Index: sky/engine/core/frame/LocalFrame.h |
diff --git a/sky/engine/core/frame/LocalFrame.h b/sky/engine/core/frame/LocalFrame.h |
index eeab185de10f38235eb43b05c2e6505bae06391d..99c6873a00069e7edf053488014195ac9570456c 100644 |
--- a/sky/engine/core/frame/LocalFrame.h |
+++ b/sky/engine/core/frame/LocalFrame.h |
@@ -37,6 +37,7 @@ |
namespace blink { |
class Color; |
+ class DartController; |
class Document; |
class Editor; |
class Element; |
@@ -56,7 +57,6 @@ namespace blink { |
class Node; |
class Range; |
class RenderView; |
- class ScriptController; |
class SpellChecker; |
class TreeScope; |
class TreeScope; |
@@ -92,7 +92,7 @@ namespace blink { |
FrameSelection& selection() const; |
InputMethodController& inputMethodController() const; |
FetchContext& fetchContext() const; |
- ScriptController& script(); |
+ DartController& dart(); |
SpellChecker& spellChecker() const; |
FrameConsole& console() const; |
@@ -126,7 +126,7 @@ namespace blink { |
RefPtr<FrameView> m_view; |
- OwnPtr<ScriptController> m_script; |
+ OwnPtr<DartController> m_dart; |
const OwnPtr<Editor> m_editor; |
const OwnPtr<SpellChecker> m_spellChecker; |
const OwnPtr<FrameSelection> m_selection; |
@@ -141,9 +141,9 @@ namespace blink { |
return m_view.get(); |
} |
- inline ScriptController& LocalFrame::script() |
+ inline DartController& LocalFrame::dart() |
{ |
- return *m_script; |
+ return *m_dart; |
} |
inline FrameSelection& LocalFrame::selection() const |