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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatablePath.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/AnimatablePath.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.h b/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.h
index 22de9cd96783e7f600aceea6672f4c030c5dde2f..1f3fb5b422194a4a99c67d078c7c918f961c7818 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.h
@@ -11,20 +11,13 @@
namespace blink {
-class CORE_EXPORT AnimatablePath final : public AnimatableValue {
+class AnimatablePath final : public AnimatableValue {
public:
~AnimatablePath() override {}
static PassRefPtr<AnimatablePath> create(PassRefPtr<StylePath> path) {
return adoptRef(new AnimatablePath(std::move(path)));
}
- StylePath* path() const { return m_path.get(); }
-
- protected:
- PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*,
- double fraction) const override;
- bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
-
private:
explicit AnimatablePath(PassRefPtr<StylePath> path) : m_path(path) {}
AnimatableType type() const override { return TypePath; }

Powered by Google App Engine
This is Rietveld 408576698