Index: Source/core/css/BasicShapeFunctions.cpp |
diff --git a/Source/core/css/BasicShapeFunctions.cpp b/Source/core/css/BasicShapeFunctions.cpp |
index 3df34af0873c8b60eab05f25fc077d0a3bd12a2b..97c0fd0ef28782cae10a5f6f1dbe2ed838647f68 100644 |
--- a/Source/core/css/BasicShapeFunctions.cpp |
+++ b/Source/core/css/BasicShapeFunctions.cpp |
@@ -108,10 +108,10 @@ PassRefPtrWillBeRawPtr<CSSValue> valueForBasicShape(const RenderStyle& style, co |
const BasicShapeInset* inset = static_cast<const BasicShapeInset*>(basicShape); |
RefPtrWillBeRawPtr<CSSBasicShapeInset> insetValue = CSSBasicShapeInset::create(); |
- insetValue->setTop(CSSPrimitiveValue::create(inset->top())); |
- insetValue->setRight(CSSPrimitiveValue::create(inset->right())); |
- insetValue->setBottom(CSSPrimitiveValue::create(inset->bottom())); |
- insetValue->setLeft(CSSPrimitiveValue::create(inset->left())); |
+ insetValue->setTop(pool.createValue(inset->top(), style)); |
+ insetValue->setRight(pool.createValue(inset->right(), style)); |
+ insetValue->setBottom(pool.createValue(inset->bottom(), style)); |
+ insetValue->setLeft(pool.createValue(inset->left(), style)); |
insetValue->setTopLeftRadius(CSSPrimitiveValue::create(inset->topLeftRadius())); |
insetValue->setTopRightRadius(CSSPrimitiveValue::create(inset->topRightRadius())); |