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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.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/AnimatableTransform.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.h
index 8504b06dd8575b2ea60353d13414ee7e68f4a7f3..e212aaaf963f71c2c020b3b64cfbac2da90599bb 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.h
@@ -40,8 +40,11 @@ namespace blink {
class CORE_EXPORT AnimatableTransform final : public AnimatableValue {
public:
~AnimatableTransform() override {}
- static PassRefPtr<AnimatableTransform> Create(const TransformOperations&,
- double zoom);
+ static PassRefPtr<AnimatableTransform> Create(
+ const TransformOperations& transform,
+ double zoom) {
+ return AdoptRef(new AnimatableTransform(transform, zoom));
+ }
const TransformOperations& GetTransformOperations() const {
return transform_;
}
@@ -56,7 +59,6 @@ class CORE_EXPORT AnimatableTransform final : public AnimatableValue {
double zoom)
: transform_(transform), zoom_(zoom) {}
AnimatableType GetType() const override { return kTypeTransform; }
- bool EqualTo(const AnimatableValue*) const override;
const TransformOperations transform_;
const double zoom_;

Powered by Google App Engine
This is Rietveld 408576698