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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleAndBool.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/AnimatableDoubleAndBool.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleAndBool.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleAndBool.h
deleted file mode 100644
index 4477311aa85a4a7dd93704d043694f25696c2e9e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleAndBool.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2014 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 AnimatableDoubleAndBool_h
-#define AnimatableDoubleAndBool_h
-
-#include "core/CoreExport.h"
-#include "core/animation/animatable/AnimatableValue.h"
-
-namespace blink {
-
-class AnimatableDoubleAndBool final : public AnimatableValue {
- public:
- ~AnimatableDoubleAndBool() override {}
- static PassRefPtr<AnimatableDoubleAndBool> Create(double number, bool flag) {
- return AdoptRef(new AnimatableDoubleAndBool(number, flag));
- }
-
- private:
- AnimatableDoubleAndBool(double number, bool flag)
- : number_(number), flag_(flag) {}
- AnimatableType GetType() const override { return kTypeDoubleAndBool; }
- bool EqualTo(const AnimatableValue*) const override;
-
- double number_;
- bool flag_;
-};
-
-DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableDoubleAndBool, IsDoubleAndBool());
-
-} // namespace blink
-
-#endif // AnimatableDoubleAndBool_h

Powered by Google App Engine
This is Rietveld 408576698