| Index: Source/core/rendering/style/SVGRenderStyleDefs.cpp
|
| diff --git a/Source/core/rendering/style/SVGRenderStyleDefs.cpp b/Source/core/rendering/style/SVGRenderStyleDefs.cpp
|
| index d569252e1e2c04e6b9f374e28c7b05273ecf3481..8a2e94164b5b921583657ba8d6d63f8d12a7aa54 100644
|
| --- a/Source/core/rendering/style/SVGRenderStyleDefs.cpp
|
| +++ b/Source/core/rendering/style/SVGRenderStyleDefs.cpp
|
| @@ -26,7 +26,6 @@
|
| */
|
|
|
| #include "config.h"
|
| -
|
| #include "core/rendering/style/SVGRenderStyleDefs.h"
|
|
|
| #include "core/rendering/style/SVGRenderStyle.h"
|
| @@ -201,4 +200,28 @@ bool StyleInheritedResourceData::operator==(const StyleInheritedResourceData& ot
|
| && markerEnd == other.markerEnd;
|
| }
|
|
|
| +StyleLayoutData::StyleLayoutData()
|
| + : x(SVGRenderStyle::initialX())
|
| + , y(SVGRenderStyle::initialY())
|
| +{
|
| +}
|
| +
|
| +inline StyleLayoutData::StyleLayoutData(const StyleLayoutData& other)
|
| + : RefCounted<StyleLayoutData>()
|
| + , x(other.x)
|
| + , y(other.y)
|
| +{
|
| +}
|
| +
|
| +PassRefPtr<StyleLayoutData> StyleLayoutData::copy() const
|
| +{
|
| + return adoptRef(new StyleLayoutData(*this));
|
| +}
|
| +
|
| +bool StyleLayoutData::operator==(const StyleLayoutData& other) const
|
| +{
|
| + return x == other.x
|
| + && y == other.y;
|
| +}
|
| +
|
| }
|
|
|