| Index: Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp
|
| diff --git a/Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp b/Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp
|
| index 184136eaa2329cd4ea4b93bf35b4a2aa4448af6f..073dbd7fc954e2ae334b9564ad11bac36a02de8d 100644
|
| --- a/Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp
|
| @@ -118,7 +118,7 @@ bool InjectedScriptManager::canAccessInspectedWindow(ScriptState* scriptState)
|
| v8::Handle<v8::Object> holder = V8Window::findInstanceInPrototypeChain(global, scriptState->isolate());
|
| if (holder.IsEmpty())
|
| return false;
|
| - LocalFrame* frame = V8Window::toImpl(holder)->frame();
|
| + LocalFrame* frame = toLocalDOMWindow(V8Window::toImpl(holder))->frame();
|
|
|
| return BindingSecurity::shouldAllowAccessToFrame(scriptState->isolate(), frame, DoNotReportSecurityError);
|
| }
|
|
|