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

Unified Diff: third_party/WebKit/Source/core/style/GridLength.h

Issue 2751653003: Replace ASSERT and ASSERT_NOT_REACHED in core/style/ (Closed)
Patch Set: Replace ASSERT and ASSERT_NOT_REACHED in core/style/ 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/style/GridLength.h
diff --git a/third_party/WebKit/Source/core/style/GridLength.h b/third_party/WebKit/Source/core/style/GridLength.h
index 286c35968cddcfe69a27f5ac5be6a5c2b76ca630..3e1ab0eca9e391adfac1663f02dd47021708986a 100644
--- a/third_party/WebKit/Source/core/style/GridLength.h
+++ b/third_party/WebKit/Source/core/style/GridLength.h
@@ -53,12 +53,12 @@ class GridLength {
bool isFlex() const { return m_type == FlexType; }
const Length& length() const {
- ASSERT(isLength());
+ DCHECK(isLength());
return m_length;
}
double flex() const {
- ASSERT(isFlex());
+ DCHECK(isFlex());
return m_flex;
}
« no previous file with comments | « third_party/WebKit/Source/core/style/GridArea.h ('k') | third_party/WebKit/Source/core/style/GridPosition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698