| Index: Source/core/rendering/style/ShapeValue.h
|
| diff --git a/Source/core/rendering/style/ShapeValue.h b/Source/core/rendering/style/ShapeValue.h
|
| index 72c2cb9c067e05c0181265a0ca8f0bcd714e5494..a8db549f95830d2f622a973ac003899372a92023 100644
|
| --- a/Source/core/rendering/style/ShapeValue.h
|
| +++ b/Source/core/rendering/style/ShapeValue.h
|
| @@ -48,9 +48,9 @@ public:
|
| Image
|
| };
|
|
|
| - static PassRefPtr<ShapeValue> createShapeValue(PassRefPtr<BasicShape> shape)
|
| + static PassRefPtr<ShapeValue> createShapeValue(PassRefPtr<BasicShape> shape, LayoutBox layoutBox)
|
| {
|
| - return adoptRef(new ShapeValue(shape));
|
| + return adoptRef(new ShapeValue(shape, layoutBox));
|
| }
|
|
|
| static PassRefPtr<ShapeValue> createOutsideValue()
|
| @@ -85,10 +85,10 @@ public:
|
| bool operator==(const ShapeValue& other) const;
|
|
|
| private:
|
| - ShapeValue(PassRefPtr<BasicShape> shape)
|
| + ShapeValue(PassRefPtr<BasicShape> shape, LayoutBox layoutBox)
|
| : m_type(Shape)
|
| , m_shape(shape)
|
| - , m_layoutBox(m_shape->layoutBox())
|
| + , m_layoutBox(layoutBox)
|
| {
|
| }
|
| ShapeValue(ShapeValueType type)
|
|
|