| Index: Source/core/page/Frame.h
|
| diff --git a/Source/core/page/Frame.h b/Source/core/page/Frame.h
|
| index 9e9f0c856642b589e5f499569a48513e6bdb8b04..04fc71751d7cacfa534d1cd76a92800471ddd55e 100644
|
| --- a/Source/core/page/Frame.h
|
| +++ b/Source/core/page/Frame.h
|
| @@ -37,7 +37,6 @@
|
| #include "FrameSelection.h"
|
| #include "FrameTree.h"
|
| #include "NavigationScheduler.h"
|
| -#include "ScriptController.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -47,8 +46,8 @@ namespace WebCore {
|
| class HTMLTableCellElement;
|
| class RegularExpression;
|
| class RenderPart;
|
| -
|
| class TreeScope;
|
| + class ScriptController;
|
|
|
| enum {
|
| LayerTreeFlagsIncludeDebugInfo = 1 << 0,
|
| @@ -178,7 +177,7 @@ namespace WebCore {
|
| RefPtr<FrameView> m_view;
|
| RefPtr<Document> m_doc;
|
|
|
| - ScriptController m_script;
|
| + OwnPtr<ScriptController> m_script;
|
|
|
| mutable Editor m_editor;
|
| mutable FrameSelection m_selection;
|
| @@ -217,7 +216,7 @@ namespace WebCore {
|
|
|
| inline ScriptController* Frame::script()
|
| {
|
| - return &m_script;
|
| + return m_script.get();
|
| }
|
|
|
| inline Document* Frame::document() const
|
|
|