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

Unified Diff: third_party/WebKit/Source/core/style/BorderImageLength.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/BorderImageLength.h
diff --git a/third_party/WebKit/Source/core/style/BorderImageLength.h b/third_party/WebKit/Source/core/style/BorderImageLength.h
index 50c9ee3996440ed7e0774f1446d65c69a6f66c0b..2eaf27cbf81db25da881b61e76d031704bcd57c0 100644
--- a/third_party/WebKit/Source/core/style/BorderImageLength.h
+++ b/third_party/WebKit/Source/core/style/BorderImageLength.h
@@ -53,16 +53,16 @@ class BorderImageLength {
bool isLength() const { return m_type == LengthType; }
const Length& length() const {
- ASSERT(isLength());
+ DCHECK(isLength());
return m_length;
}
Length& length() {
- ASSERT(isLength());
+ DCHECK(isLength());
return m_length;
}
double number() const {
- ASSERT(isNumber());
+ DCHECK(isNumber());
return m_number;
}
@@ -75,7 +75,7 @@ class BorderImageLength {
if (isLength())
return m_length.isZero();
- ASSERT(isNumber());
+ DCHECK(isNumber());
return !m_number;
}
« no previous file with comments | « third_party/WebKit/Source/core/style/BorderEdge.cpp ('k') | third_party/WebKit/Source/core/style/ClipPathOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698