| Index: Source/core/layout/style/SVGLayoutStyleDefs.cpp
|
| diff --git a/Source/core/layout/style/SVGLayoutStyleDefs.cpp b/Source/core/layout/style/SVGLayoutStyleDefs.cpp
|
| index 4f19c66b6e13ef6b0208c58ad07bb5a5f551db10..8a0bfc441b94bdacef65b62b3fdfd6cc364d2771 100644
|
| --- a/Source/core/layout/style/SVGLayoutStyleDefs.cpp
|
| +++ b/Source/core/layout/style/SVGLayoutStyleDefs.cpp
|
| @@ -26,7 +26,6 @@
|
| */
|
|
|
| #include "config.h"
|
| -
|
| #include "core/layout/style/SVGLayoutStyleDefs.h"
|
|
|
| #include "core/layout/style/SVGLayoutStyle.h"
|
| @@ -201,4 +200,28 @@ bool StyleInheritedResourceData::operator==(const StyleInheritedResourceData& ot
|
| && markerEnd == other.markerEnd;
|
| }
|
|
|
| +StyleLayoutData::StyleLayoutData()
|
| + : x(SVGLayoutStyle::initialX())
|
| + , y(SVGLayoutStyle::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;
|
| +}
|
| +
|
| }
|
|
|