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

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

Issue 2109333002: Replace ASSERT_NOT_REACHED with NOTREACHED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/BasicShapeInterpolationFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp
index 5501da5b3b10d193503edca62689916e742621f6..9aacfdab98a6a56cbc5a9420892f02520ec22d3a 100644
--- a/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp
@@ -42,7 +42,7 @@ public:
return windRule() == other.windRule()
&& size() == other.size();
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
}
@@ -449,7 +449,7 @@ InterpolationValue BasicShapeInterpolationFunctions::maybeConvertBasicShape(cons
case BasicShape::BasicShapePolygonType:
return PolygonFunctions::convertBasicShape(toBasicShapePolygon(*shape), zoom);
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
}
@@ -467,7 +467,7 @@ std::unique_ptr<InterpolableValue> BasicShapeInterpolationFunctions::createNeutr
case BasicShape::BasicShapePolygonType:
return PolygonFunctions::createNeutralValue(nonInterpolableValue);
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
}
@@ -490,7 +490,7 @@ PassRefPtr<BasicShape> BasicShapeInterpolationFunctions::createBasicShape(const
case BasicShape::BasicShapePolygonType:
return PolygonFunctions::createBasicShape(interpolableValue, nonInterpolableValue, conversionData);
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
}

Powered by Google App Engine
This is Rietveld 408576698