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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleAndBool.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/AnimatableDoubleAndBool.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleAndBool.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleAndBool.h
index ebaea5d0e79cc3be54bc514c927dcbb474d3c457..5f038ef1a4fe58c41aea0c55f1d498744a5a1cc9 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleAndBool.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableDoubleAndBool.h
@@ -10,21 +10,13 @@
namespace blink {
-class CORE_EXPORT AnimatableDoubleAndBool final : public AnimatableValue {
+class AnimatableDoubleAndBool final : public AnimatableValue {
public:
~AnimatableDoubleAndBool() override {}
static PassRefPtr<AnimatableDoubleAndBool> create(double number, bool flag) {
return adoptRef(new AnimatableDoubleAndBool(number, flag));
}
- double toDouble() const { return m_number; }
- bool flag() const { return m_flag; }
-
- protected:
- PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*,
- double fraction) const override;
- bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
-
private:
AnimatableDoubleAndBool(double number, bool flag)
: m_number(number), m_flag(flag) {}

Powered by Google App Engine
This is Rietveld 408576698