diff options
Diffstat (limited to 'Source/WebCore/bindings/js/JSDOMWindowCustom.h')
-rw-r--r-- | Source/WebCore/bindings/js/JSDOMWindowCustom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/js/JSDOMWindowCustom.h b/Source/WebCore/bindings/js/JSDOMWindowCustom.h index a0e1b8f..a8d5a91 100644 --- a/Source/WebCore/bindings/js/JSDOMWindowCustom.h +++ b/Source/WebCore/bindings/js/JSDOMWindowCustom.h @@ -67,7 +67,7 @@ inline bool JSDOMWindowBase::allowsAccessFrom(JSC::ExecState* exec, String& mess ALWAYS_INLINE bool JSDOMWindowBase::allowsAccessFromPrivate(const JSGlobalObject* other) const { const JSDOMWindow* originWindow = asJSDOMWindow(other); - const JSDOMWindow* targetWindow = d()->shell->window(); + const JSDOMWindow* targetWindow = m_shell->window(); if (originWindow == targetWindow) return true; |