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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableShapeValue.h

Issue 2750293003: Delete unused AnimatableValue code (Closed)
Patch Set: Fix unit tests 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/animation/animatable/AnimatableShapeValue.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableShapeValue.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableShapeValue.h
index fcfd873ecf15b77a5d4c43b039365ae1327656dc..416593fb33b676f3ab5225ee68e7fdfb0c29d283 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableShapeValue.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableShapeValue.h
@@ -37,18 +37,12 @@
namespace blink {
-class CORE_EXPORT AnimatableShapeValue final : public AnimatableValue {
+class AnimatableShapeValue final : public AnimatableValue {
public:
~AnimatableShapeValue() override {}
static PassRefPtr<AnimatableShapeValue> create(ShapeValue* shape) {
return adoptRef(new AnimatableShapeValue(shape));
}
- ShapeValue* getShapeValue() const { return m_shape.get(); }
-
- protected:
- PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*,
- double fraction) const override;
- bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:
AnimatableShapeValue(ShapeValue* shape) : m_shape(shape) { DCHECK(m_shape); }

Powered by Google App Engine
This is Rietveld 408576698