From 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 17 Dec 2008 18:05:15 -0800 Subject: Code drop from //branches/cupcake/...@124589 --- WebCore/css/CSSUnicodeRangeValue.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'WebCore/css/CSSUnicodeRangeValue.h') diff --git a/WebCore/css/CSSUnicodeRangeValue.h b/WebCore/css/CSSUnicodeRangeValue.h index 8eca31e..0ba1980 100644 --- a/WebCore/css/CSSUnicodeRangeValue.h +++ b/WebCore/css/CSSUnicodeRangeValue.h @@ -27,16 +27,16 @@ #define CSSUnicodeRangeValue_h #include "CSSValue.h" +#include #include namespace WebCore { class CSSUnicodeRangeValue : public CSSValue { public: - CSSUnicodeRangeValue(UChar32 from, UChar32 to) - : m_from(from) - , m_to(to) + static PassRefPtr create(UChar32 from, UChar32 to) { + return adoptRef(new CSSUnicodeRangeValue(from, to)); } virtual ~CSSUnicodeRangeValue(); @@ -47,6 +47,12 @@ public: virtual String cssText() const; private: + CSSUnicodeRangeValue(UChar32 from, UChar32 to) + : m_from(from) + , m_to(to) + { + } + UChar32 m_from; UChar32 m_to; }; -- cgit v1.1