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

Unified Diff: third_party/WebKit/Source/core/css/CSSCalculationValue.h

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: All windows error are Resolved now. 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/css/CSSCalculationValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSCalculationValue.h b/third_party/WebKit/Source/core/css/CSSCalculationValue.h
index 46ce3d7bfc8f2a59bb2220aa936ee2bd03128119..5c2e429e04262232f6731117816aadd49881c8a8 100644
--- a/third_party/WebKit/Source/core/css/CSSCalculationValue.h
+++ b/third_party/WebKit/Source/core/css/CSSCalculationValue.h
@@ -95,7 +95,7 @@ class CSSCalcExpressionNode : public GarbageCollected<CSSCalcExpressionNode> {
protected:
CSSCalcExpressionNode(CalculationCategory category, bool isInteger)
: m_category(category), m_isInteger(isInteger) {
- ASSERT(category != CalcOther);
+ DCHECK_NE(category, CalcOther);
}
CalculationCategory m_category;

Powered by Google App Engine
This is Rietveld 408576698