| Index: Source/core/css/DeprecatedStyleBuilder.cpp
|
| diff --git a/Source/core/css/DeprecatedStyleBuilder.cpp b/Source/core/css/DeprecatedStyleBuilder.cpp
|
| index dd44d035574a593355db744ed49a550e0526ed67..43e824b694d9fe823e25096d7fdd73789f08c48f 100644
|
| --- a/Source/core/css/DeprecatedStyleBuilder.cpp
|
| +++ b/Source/core/css/DeprecatedStyleBuilder.cpp
|
| @@ -1734,7 +1734,7 @@ template <ExclusionShapeValue* (RenderStyle::*getterFunction)() const, void (Ren
|
| class ApplyPropertyExclusionShape {
|
| public:
|
| static void setValue(RenderStyle* style, PassRefPtr<ExclusionShapeValue> value) { (style->*setterFunction)(value); }
|
| - static void applyValue(CSSPropertyID, StyleResolver* styleResolver, CSSValue* value)
|
| + static void applyValue(CSSPropertyID property, StyleResolver* styleResolver, CSSValue* value)
|
| {
|
| if (value->isPrimitiveValue()) {
|
| CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
|
| @@ -1747,6 +1747,9 @@ public:
|
| RefPtr<ExclusionShapeValue> shape = ExclusionShapeValue::createShapeValue(basicShapeForValue(styleResolver, primitiveValue->getShapeValue()));
|
| setValue(styleResolver->style(), shape.release());
|
| }
|
| + } else if (value->isImageValue()) {
|
| + RefPtr<ExclusionShapeValue> shape = ExclusionShapeValue::createImageValue(styleResolver->styleImage(property, value));
|
| + setValue(styleResolver->style(), shape.release());
|
| }
|
| }
|
| static PropertyHandler createHandler()
|
|
|