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 7ac7aebd666cdb060aa2501ce510d9d3fd8f6fa8..e4c603bdbe712fa41e49e84c33fe346cef8da02e 100644 |
--- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp |
@@ -124,7 +124,7 @@ DOMWindow* DOMWindow::anonymousIndexedGetter(uint32_t index) const |
bool DOMWindow::isCurrentlyDisplayedInFrame() const |
{ |
if (frame()) |
- RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(frame()->domWindow() == this); |
+ SECURITY_CHECK(frame()->domWindow() == this); |
return frame() && frame()->host(); |
} |