| Index: third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.cpp b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| index b514d469fe941be440f78783a670567f6b5e445a..9db02c90ab4c773cf4b08ae3d073bb313a219816 100644
|
| --- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| @@ -120,7 +120,9 @@ DOMWindow* DOMWindow::anonymousIndexedGetter(uint32_t index) const
|
|
|
| bool DOMWindow::isCurrentlyDisplayedInFrame() const
|
| {
|
| - return frame() && frame()->domWindow() == this && frame()->host();
|
| + if (frame())
|
| + RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(frame()->domWindow() == this);
|
| + return frame() && frame()->host();
|
| }
|
|
|
| bool DOMWindow::isInsecureScriptAccess(LocalDOMWindow& callingWindow, const String& urlString)
|
|
|