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

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

Issue 2627793002: Remove unused code in InvalidatableInterpolation (Closed)
Patch Set: Simplify test in response to review Created 3 years, 11 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/InvalidatableInterpolation.h
diff --git a/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h b/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h
index bdacb924bc4ddb10fa6933d6ab791f51a28fe1bf..2fb90cc365528b307a1386e99b77a06bba41ffa4 100644
--- a/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h
+++ b/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h
@@ -30,7 +30,6 @@ class CORE_EXPORT InvalidatableInterpolation : public Interpolation {
PropertyHandle getProperty() const final { return m_property; }
virtual void interpolate(int iteration, double fraction);
bool dependsOnUnderlyingValue() const final;
- virtual void apply(InterpolationEnvironment&) const { NOTREACHED(); }
static void applyStack(const ActiveInterpolations&,
InterpolationEnvironment&);
@@ -51,11 +50,6 @@ class CORE_EXPORT InvalidatableInterpolation : public Interpolation {
using ConversionCheckers = InterpolationType::ConversionCheckers;
- InterpolableValue* getCachedValueForTesting() const final {
- // TODO(suzyh): Add meaningful implementation here
- NOTREACHED();
- return nullptr;
- }
std::unique_ptr<TypedInterpolationValue> maybeConvertUnderlyingValue(
const InterpolationEnvironment&) const;
const TypedInterpolationValue* ensureValidConversion(

Powered by Google App Engine
This is Rietveld 408576698