| Index: Source/core/layout/style/SVGLayoutStyleDefs.h
|
| diff --git a/Source/core/layout/style/SVGLayoutStyleDefs.h b/Source/core/layout/style/SVGLayoutStyleDefs.h
|
| index 572d8bf65d86ba8178a2e35a6c38d3a44fd9bc8c..0608e20ff5ea8ea19e03ba5166d64288ad8607b7 100644
|
| --- a/Source/core/layout/style/SVGLayoutStyleDefs.h
|
| +++ b/Source/core/layout/style/SVGLayoutStyleDefs.h
|
| @@ -30,6 +30,7 @@
|
|
|
| #include "core/svg/SVGLength.h"
|
| #include "core/svg/SVGLengthList.h"
|
| +#include "platform/Length.h"
|
| #include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
| #include "wtf/RefCounted.h"
|
| @@ -259,6 +260,23 @@ private:
|
| StyleInheritedResourceData(const StyleInheritedResourceData&);
|
| };
|
|
|
| +// Positioning and sizing properties.
|
| +class StyleLayoutData : public RefCounted<StyleLayoutData> {
|
| + public:
|
| + static PassRefPtr<StyleLayoutData> create() { return adoptRef(new StyleLayoutData); }
|
| + PassRefPtr<StyleLayoutData> copy() const;
|
| + bool operator==(const StyleLayoutData&) const;
|
| + bool operator!=(const StyleLayoutData& other) const
|
| + {
|
| + return !(*this == other);
|
| + }
|
| + Length x;
|
| + Length y;
|
| + private:
|
| + StyleLayoutData();
|
| + StyleLayoutData(const StyleLayoutData&);
|
| + };
|
| +
|
| } // namespace blink
|
|
|
| #endif // SVGLayoutStyleDefs_h
|
|
|