| 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..164d5155fc382f3fdda992aef9f60d668107697c 100644
|
| --- a/Source/core/rendering/style/SVGRenderStyleDefs.cpp
|
| +++ b/Source/core/rendering/style/SVGRenderStyleDefs.cpp
|
| @@ -28,7 +28,7 @@
|
| #include "config.h"
|
|
|
| #include "core/rendering/style/SVGRenderStyleDefs.h"
|
| -
|
| +#include "core/rendering/style/RenderStyle.h"
|
| #include "core/rendering/style/SVGRenderStyle.h"
|
|
|
| namespace blink {
|
| @@ -201,4 +201,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;
|
| +}
|
| +
|
| }
|
|
|