Index: Source/core/css/CSSToStyleMap.cpp |
diff --git a/Source/core/css/CSSToStyleMap.cpp b/Source/core/css/CSSToStyleMap.cpp |
index 4dacaa7b7123f4fdf45d732756ccc057fcc5c2bd..180d3100afb670e763cc27ae8d4b94d77044b3c1 100644 |
--- a/Source/core/css/CSSToStyleMap.cpp |
+++ b/Source/core/css/CSSToStyleMap.cpp |
@@ -227,11 +227,6 @@ void CSSToStyleMap::mapFillSize(CSSPropertyID, FillLayer* layer, CSSValue* value |
void CSSToStyleMap::mapFillXPosition(CSSPropertyID propertyID, FillLayer* layer, CSSValue* value) const |
{ |
- if (value->isInitialValue()) { |
- layer->setXPosition(FillLayer::initialFillXPosition(layer->type())); |
- return; |
- } |
- |
if (!value->isPrimitiveValue()) |
return; |
@@ -263,11 +258,6 @@ void CSSToStyleMap::mapFillXPosition(CSSPropertyID propertyID, FillLayer* layer, |
void CSSToStyleMap::mapFillYPosition(CSSPropertyID propertyID, FillLayer* layer, CSSValue* value) const |
{ |
- if (value->isInitialValue()) { |
- layer->setYPosition(FillLayer::initialFillYPosition(layer->type())); |
- return; |
- } |
- |
if (!value->isPrimitiveValue()) |
return; |