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

Unified Diff: third_party/WebKit/Source/core/animation/InterpolableValue.h

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/InterpolableValue.h
diff --git a/third_party/WebKit/Source/core/animation/InterpolableValue.h b/third_party/WebKit/Source/core/animation/InterpolableValue.h
index d1720e841150dc3bc520af347efbd347748589fa..87569eab7286c2fe7cdeb277ef7d3b81efd1b98f 100644
--- a/third_party/WebKit/Source/core/animation/InterpolableValue.h
+++ b/third_party/WebKit/Source/core/animation/InterpolableValue.h
@@ -83,11 +83,11 @@ public:
bool isBool() const final { return true; }
bool value() const { return m_value; }
- bool equals(const InterpolableValue&) const final { ASSERT_NOT_REACHED(); return false; }
+ bool equals(const InterpolableValue&) const final { NOTREACHED(); return false; }
std::unique_ptr<InterpolableValue> clone() const final { return create(m_value); }
- std::unique_ptr<InterpolableValue> cloneAndZero() const final { ASSERT_NOT_REACHED(); return nullptr; }
- void scale(double scale) final { ASSERT_NOT_REACHED(); }
- void scaleAndAdd(double scale, const InterpolableValue& other) final { ASSERT_NOT_REACHED(); }
+ std::unique_ptr<InterpolableValue> cloneAndZero() const final { NOTREACHED(); return nullptr; }
+ void scale(double scale) final { NOTREACHED(); }
+ void scaleAndAdd(double scale, const InterpolableValue& other) final { NOTREACHED(); }
private:
void interpolate(const InterpolableValue& to, const double progress, InterpolableValue& result) const final;
@@ -173,11 +173,11 @@ public:
bool isAnimatableValue() const final { return true; }
AnimatableValue* value() const { return m_value.get(); }
- bool equals(const InterpolableValue&) const final { ASSERT_NOT_REACHED(); return false; }
+ bool equals(const InterpolableValue&) const final { NOTREACHED(); return false; }
std::unique_ptr<InterpolableValue> clone() const final { return create(m_value); }
- std::unique_ptr<InterpolableValue> cloneAndZero() const final { ASSERT_NOT_REACHED(); return nullptr; }
- void scale(double scale) final { ASSERT_NOT_REACHED(); }
- void scaleAndAdd(double scale, const InterpolableValue& other) final { ASSERT_NOT_REACHED(); }
+ std::unique_ptr<InterpolableValue> cloneAndZero() const final { NOTREACHED(); return nullptr; }
+ void scale(double scale) final { NOTREACHED(); }
+ void scaleAndAdd(double scale, const InterpolableValue& other) final { NOTREACHED(); }
private:
void interpolate(const InterpolableValue &to, const double progress, InterpolableValue& result) const final;

Powered by Google App Engine
This is Rietveld 408576698