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

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

Issue 2893313004: Remove unused AnimatableValue types (Closed)
Patch Set: Created 3 years, 7 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
deleted file mode 100644
index a80f9861bfa7253edbb1368b757e262d25d9d846..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef AnimatablePath_h
-#define AnimatablePath_h
-
-#include "core/CoreExport.h"
-#include "core/animation/animatable/AnimatableValue.h"
-#include "core/style/StylePath.h"
-
-namespace blink {
-
-class AnimatablePath final : public AnimatableValue {
- public:
- ~AnimatablePath() override {}
- static PassRefPtr<AnimatablePath> Create(PassRefPtr<StylePath> path) {
- return AdoptRef(new AnimatablePath(std::move(path)));
- }
-
- private:
- explicit AnimatablePath(PassRefPtr<StylePath> path)
- : path_(std::move(path)) {}
- AnimatableType GetType() const override { return kTypePath; }
- bool EqualTo(const AnimatableValue*) const override;
- const RefPtr<StylePath> path_;
-};
-
-DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatablePath, IsPath());
-
-} // namespace blink
-
-#endif // AnimatablePath_h

Powered by Google App Engine
This is Rietveld 408576698