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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTransform.cpp

Issue 2748223002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/svg/ (Closed)
Patch Set: 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/svg/SVGTransform.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTransform.cpp b/third_party/WebKit/Source/core/svg/SVGTransform.cpp
index 0518512768ffa8b4cae33ef550c6ca5434e0b7e6..c0feae20a73b099190e57a60f077e49583086a27 100644
--- a/third_party/WebKit/Source/core/svg/SVGTransform.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTransform.cpp
@@ -56,7 +56,7 @@ SVGTransform* SVGTransform::clone() const {
SVGPropertyBase* SVGTransform::cloneForAnimation(const String&) const {
// SVGTransform is never animated.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
@@ -142,7 +142,7 @@ const char* transformTypePrefixForParsing(SVGTransformType type) {
case kSvgTransformSkewy:
return "skewY(";
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return "";
}
@@ -217,7 +217,7 @@ String SVGTransform::valueAsString() const {
void SVGTransform::add(SVGPropertyBase*, SVGElement*) {
// SVGTransform is not animated by itself.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
void SVGTransform::calculateAnimatedValue(SVGAnimationElement*,
@@ -228,12 +228,12 @@ void SVGTransform::calculateAnimatedValue(SVGAnimationElement*,
SVGPropertyBase*,
SVGElement*) {
// SVGTransform is not animated by itself.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
float SVGTransform::calculateDistance(SVGPropertyBase*, SVGElement*) {
// SVGTransform is not animated by itself.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return -1;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGStringList.cpp ('k') | third_party/WebKit/Source/core/svg/SVGTransformDistance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698