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

Unified Diff: third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp

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/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);
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleRuleImport.h ('k') | third_party/WebKit/Source/core/css/StyleSheetContents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698