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

Unified Diff: third_party/WebKit/Source/web/RemoteFrameOwner.cpp

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return DCHECK_IS_ON checks. 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/web/RemoteFrameOwner.cpp
diff --git a/third_party/WebKit/Source/web/RemoteFrameOwner.cpp b/third_party/WebKit/Source/web/RemoteFrameOwner.cpp
index 9a1270d9d87aa4b3e19b877e4e8c48db12c29925..07da06fcd624abc6675f8147c35e43f640c9deff 100644
--- a/third_party/WebKit/Source/web/RemoteFrameOwner.cpp
+++ b/third_party/WebKit/Source/web/RemoteFrameOwner.cpp
@@ -58,7 +58,7 @@ void RemoteFrameOwner::setContentFrame(Frame& frame)
void RemoteFrameOwner::clearContentFrame()
{
- ASSERT(m_frame->owner() == this);
+ DCHECK_EQ(m_frame->owner(), this);
m_frame = nullptr;
#if !ENABLE(OILPAN)
// Balance the ref() in setContentFrame().
« no previous file with comments | « third_party/WebKit/Source/web/PopupMenuImpl.cpp ('k') | third_party/WebKit/Source/web/RotationViewportAnchor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698