Index: Source/core/css/CSSFontValue.h |
diff --git a/Source/core/css/FontValue.h b/Source/core/css/CSSFontValue.h |
similarity index 83% |
rename from Source/core/css/FontValue.h |
rename to Source/core/css/CSSFontValue.h |
index df8f9a739edc28506c28c78ef435a4e7e0f1797b..5ca4f32d0fd846a9f56ee6e58f4ff90930a4e2a7 100644 |
--- a/Source/core/css/FontValue.h |
+++ b/Source/core/css/CSSFontValue.h |
@@ -18,8 +18,8 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-#ifndef FontValue_h |
-#define FontValue_h |
+#ifndef CSSFontValue_h |
+#define CSSFontValue_h |
#include "core/css/CSSValue.h" |
#include "wtf/PassRefPtr.h" |
@@ -30,16 +30,16 @@ namespace WebCore { |
class CSSPrimitiveValue; |
class CSSValueList; |
-class FontValue : public CSSValue { |
+class CSSFontValue : public CSSValue { |
public: |
- static PassRefPtr<FontValue> create() |
+ static PassRefPtr<CSSFontValue> create() |
{ |
- return adoptRef(new FontValue); |
+ return adoptRef(new CSSFontValue); |
} |
String customCssText() const; |
- bool equals(const FontValue&) const; |
+ bool equals(const CSSFontValue&) const; |
RefPtr<CSSPrimitiveValue> style; |
RefPtr<CSSPrimitiveValue> variant; |
@@ -49,12 +49,14 @@ public: |
RefPtr<CSSValueList> family; |
private: |
- FontValue() |
+ CSSFontValue() |
: CSSValue(FontClass) |
{ |
} |
}; |
+DEFINE_CSS_VALUE_TYPE_CASTS(FontValue); |
+ |
} // namespace |
#endif |