Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindow.cpp

Issue 1841363003: Replace RELEASE_ASSERT_WITH_SECURITY_IMPLICATION with SECURITY_CHECK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698