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

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

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: Worked on Review Comments done 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/StyleRule.cpp
diff --git a/third_party/WebKit/Source/core/css/StyleRule.cpp b/third_party/WebKit/Source/core/css/StyleRule.cpp
index 2bcbd8c969ef66d0f789397c08c1255c6ea13d43..c1230ca45cd6ff5a6ef4dcf7c922d29dfe4d9310 100644
--- a/third_party/WebKit/Source/core/css/StyleRule.cpp
+++ b/third_party/WebKit/Source/core/css/StyleRule.cpp
@@ -154,10 +154,10 @@ StyleRuleBase* StyleRuleBase::copy() const {
return toStyleRuleNamespace(this)->copy();
case Charset:
case Keyframe:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
@@ -195,7 +195,7 @@ CSSRule* StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* parentSheet,
break;
case Keyframe:
case Charset:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
if (parentRule)

Powered by Google App Engine
This is Rietveld 408576698