| Index: Source/bindings/core/v8/ScriptState.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptState.cpp b/Source/bindings/core/v8/ScriptState.cpp
|
| index 09d8cd3185dc35e76d9697f973b6a842d0051afc..bf92cc72e7c5d2bae7ca1e53a2578982852ca3de 100644
|
| --- a/Source/bindings/core/v8/ScriptState.cpp
|
| +++ b/Source/bindings/core/v8/ScriptState.cpp
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "bindings/core/v8/V8Binding.h"
|
| #include "core/dom/ExecutionContext.h"
|
| +#include "core/frame/LocalDOMWindow.h"
|
| #include "core/frame/LocalFrame.h"
|
|
|
| namespace blink {
|
| @@ -85,7 +86,7 @@ void ScriptState::setExecutionContext(ExecutionContext*)
|
| LocalDOMWindow* ScriptState::domWindow() const
|
| {
|
| v8::HandleScope scope(m_isolate);
|
| - return toDOMWindow(context());
|
| + return toLocalDOMWindow(toDOMWindow(context()));
|
| }
|
|
|
| ScriptState* ScriptState::forMainWorld(LocalFrame* frame)
|
|
|