diff options
Diffstat (limited to 'WebCore/svg/SVGPreserveAspectRatio.h')
-rw-r--r-- | WebCore/svg/SVGPreserveAspectRatio.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/WebCore/svg/SVGPreserveAspectRatio.h b/WebCore/svg/SVGPreserveAspectRatio.h index eda82d4..bf00ee4 100644 --- a/WebCore/svg/SVGPreserveAspectRatio.h +++ b/WebCore/svg/SVGPreserveAspectRatio.h @@ -23,7 +23,7 @@ #if ENABLE(SVG) #include "ExceptionCode.h" -#include <wtf/text/WTFString.h> +#include "SVGPropertyTraits.h" namespace WebCore { @@ -86,6 +86,12 @@ private: SVGMeetOrSliceType m_meetOrSlice; }; +template<> +struct SVGPropertyTraits<SVGPreserveAspectRatio> { + static SVGPreserveAspectRatio initialValue() { return SVGPreserveAspectRatio(); } + static String toString(const SVGPreserveAspectRatio& type) { return type.valueAsString(); } +}; + } // namespace WebCore #endif // ENABLE(SVG) |