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

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

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: Worked on Review Comments done 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/CSSCustomPropertyDeclaration.h
diff --git a/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.h b/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.h
index f711dff8748f382f3799a427cc0a520075ebb280..7695af7e9a2a28a40fad9ea5dc35983d7ecb77f4 100644
--- a/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.h
+++ b/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.h
@@ -51,7 +51,7 @@ class CSSCustomPropertyDeclaration : public CSSValue {
m_name(name),
m_value(nullptr),
m_valueId(id) {
- ASSERT(id == CSSValueInherit || id == CSSValueInitial ||
+ DCHECK(id == CSSValueInherit || id == CSSValueInitial ||
id == CSSValueUnset);
}

Powered by Google App Engine
This is Rietveld 408576698