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

Unified Diff: third_party/WebKit/Source/core/style/CounterDirectives.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/CounterDirectives.h
diff --git a/third_party/WebKit/Source/core/style/CounterDirectives.h b/third_party/WebKit/Source/core/style/CounterDirectives.h
index 1529b955ee7aaa0b991c2ce80f6809df6d3f7627..631d9eb8833ca8b93a6a4cc990c5a824a577bd13 100644
--- a/third_party/WebKit/Source/core/style/CounterDirectives.h
+++ b/third_party/WebKit/Source/core/style/CounterDirectives.h
@@ -81,8 +81,8 @@ class CounterDirectives {
bool isDefined() const { return isReset() || isIncrement(); }
int combinedValue() const {
- ASSERT(m_isResetSet || !m_resetValue);
- ASSERT(m_isIncrementSet || !m_incrementValue);
+ DCHECK(m_isResetSet || !m_resetValue);
+ DCHECK(m_isIncrementSet || !m_incrementValue);
// FIXME: Shouldn't allow overflow here.
return m_resetValue + m_incrementValue;
}
« no previous file with comments | « third_party/WebKit/Source/core/style/ContentData.h ('k') | third_party/WebKit/Source/core/style/DataPersistent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698