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

Unified Diff: third_party/WebKit/Source/core/animation/StringKeyframe.cpp

Issue 1826733002: Remove ASSERT_WITH_MESSAGE family. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/animation/StringKeyframe.cpp
diff --git a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
index 15f6d7e56ea52f8c6cd48eb709842c5e44c441e1..485b2bd3868e20d1e13ab52b9bf4eabe58279754 100644
--- a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
+++ b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
@@ -60,9 +60,9 @@ PropertyHandleSet StringKeyframe::properties() const
PropertyHandleSet properties;
for (unsigned i = 0; i < m_cssPropertyMap->propertyCount(); ++i) {
StylePropertySet::PropertyReference propertyReference = m_cssPropertyMap->propertyAt(i);
- ASSERT_WITH_MESSAGE(
- !isShorthandProperty(propertyReference.id()) || propertyReference.value()->isVariableReferenceValue(),
- "Web Animations: Encountered unexpanded shorthand CSS property (%d).", propertyReference.id());
+ DCHECK(
+ !isShorthandProperty(propertyReference.id()) || propertyReference.value()->isVariableReferenceValue())
+ << "Web Animations: Encountered unexpanded shorthand CSS property (" << propertyReference.id() << ").";
properties.add(PropertyHandle(propertyReference.id(), false));
}

Powered by Google App Engine
This is Rietveld 408576698