Index: Source/core/css/BasicShapeFunctions.cpp |
diff --git a/Source/core/css/BasicShapeFunctions.cpp b/Source/core/css/BasicShapeFunctions.cpp |
index 97c0fd0ef28782cae10a5f6f1dbe2ed838647f68..e6399b9918739e231a0617d5393a49a09a9c1fac 100644 |
--- a/Source/core/css/BasicShapeFunctions.cpp |
+++ b/Source/core/css/BasicShapeFunctions.cpp |
@@ -113,10 +113,10 @@ PassRefPtrWillBeRawPtr<CSSValue> valueForBasicShape(const RenderStyle& style, co |
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())); |
- insetValue->setBottomRightRadius(CSSPrimitiveValue::create(inset->bottomRightRadius())); |
- insetValue->setBottomLeftRadius(CSSPrimitiveValue::create(inset->bottomLeftRadius())); |
+ insetValue->setTopLeftRadius(CSSPrimitiveValue::create(inset->topLeftRadius(), style)); |
+ insetValue->setTopRightRadius(CSSPrimitiveValue::create(inset->topRightRadius(), style)); |
+ insetValue->setBottomRightRadius(CSSPrimitiveValue::create(inset->bottomRightRadius(), style)); |
+ insetValue->setBottomLeftRadius(CSSPrimitiveValue::create(inset->bottomLeftRadius(), style)); |
basicShapeValue = insetValue.release(); |
break; |