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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableFontVariationSettings.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/AnimatableFontVariationSettings.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableFontVariationSettings.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableFontVariationSettings.h
deleted file mode 100644
index b0803f2a0e023135a6eab6de044ae539ac20330a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableFontVariationSettings.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2017 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 AnimatableFontVariationSettings_h
-#define AnimatableFontVariationSettings_h
-
-#include "core/animation/animatable/AnimatableValue.h"
-
-#include "platform/fonts/opentype/FontSettings.h"
-
-namespace blink {
-
-class AnimatableFontVariationSettings final : public AnimatableValue {
- public:
- ~AnimatableFontVariationSettings() override {}
- static PassRefPtr<AnimatableFontVariationSettings> Create(
- PassRefPtr<FontVariationSettings> settings) {
- return AdoptRef(new AnimatableFontVariationSettings(std::move(settings)));
- }
-
- private:
- explicit AnimatableFontVariationSettings(
- PassRefPtr<FontVariationSettings> settings)
- : settings_(std::move(settings)) {}
- AnimatableType GetType() const override { return kTypeFontVariationSettings; }
- bool EqualTo(const AnimatableValue* other) const final;
-
- const RefPtr<FontVariationSettings> settings_;
-};
-
-DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableFontVariationSettings,
- IsFontVariationSettings());
-
-} // namespace blink
-
-#endif // AnimatableFontVariationSettings_h

Powered by Google App Engine
This is Rietveld 408576698