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

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

Issue 2382653006: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Make check-webkit-style happy 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 abb5769c41f9e9bb4e74b0bbda48e2ca853dac4f..8d5c0b87e6a915a9558364c6e6e04c8d3f338830 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 {
@@ -45,13 +45,12 @@ class AnimatableUnknown final : public AnimatableValue {
return adoptRef(new AnimatableUnknown(value));
}
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();
+ return toCSSIdentifierValue(m_value.get())->getValueID();
}
protected:

Powered by Google App Engine
This is Rietveld 408576698