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

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

Issue 2346193002: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Rebase please work Created 4 years, 3 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/AnimatableUnknown.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h
index 03e673d42a57f7d4e4fb76ee149c14f2ab425682..def3b105b12bccfc59334371f0201ce271041ec8 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableUnknown.h
@@ -33,7 +33,7 @@
#include "core/CSSValueKeywords.h"
#include "core/animation/animatable/AnimatableValue.h"
-#include "core/css/CSSPrimitiveValue.h"
+#include "core/css/CSSIdentifierValue.h"
namespace blink {
@@ -47,11 +47,11 @@ public:
}
static PassRefPtr<AnimatableUnknown> create(CSSValueID value)
{
- return adoptRef(new AnimatableUnknown(CSSPrimitiveValue::createIdentifier(value)));
+ return adoptRef(new AnimatableUnknown(CSSIdentifierValue::create(value)));
}
CSSValue* toCSSValue() const { return m_value; }
- CSSValueID toCSSValueID() const { return toCSSPrimitiveValue(m_value.get())->getValueID(); }
+ CSSValueID toCSSValueID() const { return toCSSIdentifierValue(m_value.get())->getValueID(); }
protected:
PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue* value, double fraction) const override

Powered by Google App Engine
This is Rietveld 408576698