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

Unified Diff: Source/core/animation/css/CSSAnimatableValueFactory.cpp

Issue 1265853003: CSSValue Immediates: Immediates from all CSSPrimitiveValue constructors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@tagged_ptrs_base
Patch Set: Created 5 years, 5 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: Source/core/animation/css/CSSAnimatableValueFactory.cpp
diff --git a/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/Source/core/animation/css/CSSAnimatableValueFactory.cpp
index ae7c1ff97b7d370ed4ec7444ba718d48590ee98b..ce329966adcdd753cc3cde8e090509eafde5c509 100644
--- a/Source/core/animation/css/CSSAnimatableValueFactory.cpp
+++ b/Source/core/animation/css/CSSAnimatableValueFactory.cpp
@@ -323,9 +323,9 @@ PassRefPtrWillBeRawPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPro
case CSSPropertyBaselineShift:
switch (style.svgStyle().baselineShift()) {
case BS_SUPER:
- return AnimatableUnknown::create(CSSPrimitiveValue::createIdentifier(CSSValueSuper));
+ return AnimatableUnknown::create(CSSPrimitiveValue::create(CSSValueSuper));
case BS_SUB:
- return AnimatableUnknown::create(CSSPrimitiveValue::createIdentifier(CSSValueSub));
+ return AnimatableUnknown::create(CSSPrimitiveValue::create(CSSValueSub));
default:
return createFromLength(style.baselineShiftValue(), style);
}
« no previous file with comments | « Source/core/animation/animatable/AnimatableValueTestHelperTest.cpp ('k') | Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698