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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutState.cpp

Issue 2770203002: Replace DCHECK with DCHECK_op and split some DCHECKs wherever necessary (Closed)
Patch Set: Add few more Created 3 years, 8 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/layout/LayoutState.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutState.cpp b/third_party/WebKit/Source/core/layout/LayoutState.cpp
index 0874035b219f323ccb2465636ba670979bb94062..c0210548e54f1dc4be416c1049761631f4ebc59b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutState.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutState.cpp
@@ -113,7 +113,7 @@ LayoutState::LayoutState(LayoutObject& root)
LayoutState::~LayoutState() {
if (m_layoutObject.view()->layoutState()) {
- DCHECK(m_layoutObject.view()->layoutState() == this);
+ DCHECK_EQ(m_layoutObject.view()->layoutState(), this);
m_layoutObject.view()->popLayoutState();
}
}

Powered by Google App Engine
This is Rietveld 408576698