Index: Source/core/animation/css/CSSAnimatableValueFactory.cpp |
diff --git a/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
index b9c3ffb1084b8186682fa9787846a77437cd5f5b..26b5a839e6d4f8120c2820c4b7148c30f4b6a546 100644 |
--- a/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
+++ b/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
@@ -68,14 +68,6 @@ static PassRefPtr<AnimatableValue> createFromLength(const Length& length, const |
return AnimatableLength::create(adjustFloatForAbsoluteZoom(length.value(), style), AnimatableLength::UnitTypePixels); |
case Percent: |
return AnimatableLength::create(length.value(), AnimatableLength::UnitTypePercentage); |
- case ViewportPercentageWidth: |
- return AnimatableLength::create(length.value(), AnimatableLength::UnitTypeViewportWidth); |
- case ViewportPercentageHeight: |
- return AnimatableLength::create(length.value(), AnimatableLength::UnitTypeViewportHeight); |
- case ViewportPercentageMin: |
- return AnimatableLength::create(length.value(), AnimatableLength::UnitTypeViewportMin); |
- case ViewportPercentageMax: |
- return AnimatableLength::create(length.value(), AnimatableLength::UnitTypeViewportMax); |
case Calculated: |
return AnimatableLength::create(CSSCalcValue::createExpressionNode(length.calculationValue()->expression(), style.effectiveZoom())); |
case Auto: |
@@ -89,6 +81,8 @@ static PassRefPtr<AnimatableValue> createFromLength(const Length& length, const |
case Undefined: |
return AnimatableUnknown::create(CSSValueNone); |
case ExtendToZoom: // Does not apply to elements. |
+ case DeviceWidth: |
kenneth.r.christiansen
2013/12/16 10:08:19
Do we need these? They are not used in @viewport a
|
+ case DeviceHeight: |
ASSERT_NOT_REACHED(); |
return 0; |
} |