Index: third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp |
diff --git a/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp b/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp |
index a4aea12263ebfc08806da2c5b546ba59dadb721b..004ae6bfecac4050856b76f50c7fa04f35bb5299 100644 |
--- a/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp |
+++ b/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp |
@@ -16,7 +16,7 @@ StyleRuleKeyframe::StyleRuleKeyframe(std::unique_ptr<Vector<double>> keys, |
: StyleRuleBase(Keyframe), m_properties(properties), m_keys(*keys) {} |
String StyleRuleKeyframe::keyText() const { |
- ASSERT(!m_keys.isEmpty()); |
+ DCHECK(!m_keys.isEmpty()); |
StringBuilder keyText; |
for (unsigned i = 0; i < m_keys.size(); ++i) { |
@@ -30,7 +30,7 @@ String StyleRuleKeyframe::keyText() const { |
} |
bool StyleRuleKeyframe::setKeyText(const String& keyText) { |
- ASSERT(!keyText.isNull()); |
+ DCHECK(!keyText.isNull()); |
std::unique_ptr<Vector<double>> keys = |
CSSParser::parseKeyframeKeyList(keyText); |