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

Unified Diff: third_party/WebKit/Source/core/css/CSSValuePair.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/CSSValuePair.h
diff --git a/third_party/WebKit/Source/core/css/CSSValuePair.h b/third_party/WebKit/Source/core/css/CSSValuePair.h
index 06213db060ad76b3a11614a079748b861786ba59..b911d2b3cb2819cc98af7c7c13c30232c7122614 100644
--- a/third_party/WebKit/Source/core/css/CSSValuePair.h
+++ b/third_party/WebKit/Source/core/css/CSSValuePair.h
@@ -49,7 +49,7 @@ class CORE_EXPORT CSSValuePair : public CSSValue {
}
bool equals(const CSSValuePair& other) const {
- ASSERT(m_identicalValuesPolicy == other.m_identicalValuesPolicy);
+ DCHECK_EQ(m_identicalValuesPolicy, other.m_identicalValuesPolicy);
return dataEquivalent(m_first, other.m_first) &&
dataEquivalent(m_second, other.m_second);
}
@@ -64,8 +64,8 @@ class CORE_EXPORT CSSValuePair : public CSSValue {
m_first(first),
m_second(second),
m_identicalValuesPolicy(identicalValuesPolicy) {
- ASSERT(m_first);
- ASSERT(m_second);
+ DCHECK(m_first);
+ DCHECK(m_second);
}
Member<const CSSValue> m_first;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValueList.cpp ('k') | third_party/WebKit/Source/core/css/CSSViewportRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698