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

Unified Diff: third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h

Issue 2748103015: Replace ASSERT with DCHECK in core/layout/<sub dirs> (Closed)
Patch Set: Rebase with latest Created 3 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/layout/shapes/ShapeOutsideInfo.h
diff --git a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h
index 6008e28bef195d39f187a940afbf155e3df7ccd4..1a7b77f23fcfbeb341ab49f3b6c80a47ab58c5dd 100644
--- a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h
+++ b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h
@@ -68,15 +68,15 @@ class ShapeOutsideDeltas final {
bool isValid() { return m_isValid; }
LayoutUnit leftMarginBoxDelta() {
- ASSERT(m_isValid);
+ DCHECK(m_isValid);
return m_leftMarginBoxDelta;
}
LayoutUnit rightMarginBoxDelta() {
- ASSERT(m_isValid);
+ DCHECK(m_isValid);
return m_rightMarginBoxDelta;
}
bool lineOverlapsShape() {
- ASSERT(m_isValid);
+ DCHECK(m_isValid);
return m_lineOverlapsShape;
}

Powered by Google App Engine
This is Rietveld 408576698