summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/CSSFunctionValue.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
commit32761a6cee1d0dee366b885b7b9c777e67885688 (patch)
treed6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/css/CSSFunctionValue.h
parenta4e969f4965059196ca948db781e52f7cfebf19e (diff)
downloadWebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/WebCore/css/CSSFunctionValue.h')
-rw-r--r--Source/WebCore/css/CSSFunctionValue.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/WebCore/css/CSSFunctionValue.h b/Source/WebCore/css/CSSFunctionValue.h
index b86371d34..511123b87 100644
--- a/Source/WebCore/css/CSSFunctionValue.h
+++ b/Source/WebCore/css/CSSFunctionValue.h
@@ -32,16 +32,15 @@ namespace WebCore {
class CSSValueList;
struct CSSParserFunction;
-struct CSSParserValue;
class CSSFunctionValue : public CSSValue {
public:
- static Ref<CSSFunctionValue> create(CSSParserFunction* function)
+ static PassRef<CSSFunctionValue> create(CSSParserFunction* function)
{
return adoptRef(*new CSSFunctionValue(function));
}
- static Ref<CSSFunctionValue> create(const String& name, PassRefPtr<CSSValueList> args)
+ static PassRef<CSSFunctionValue> create(String name, PassRefPtr<CSSValueList> args)
{
return adoptRef(*new CSSFunctionValue(name, args));
}
@@ -52,19 +51,16 @@ public:
CSSValueList* arguments() const { return m_args.get(); }
- bool buildParserValueSubstitutingVariables(CSSParserValue*, const CustomPropertyValueMap& customProperties) const;
-
private:
explicit CSSFunctionValue(CSSParserFunction*);
- CSSFunctionValue(const String&, PassRefPtr<CSSValueList>);
+ CSSFunctionValue(String, PassRefPtr<CSSValueList>);
String m_name;
RefPtr<CSSValueList> m_args;
};
-} // namespace WebCore
-
-SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSFunctionValue, isFunctionValue())
+CSS_VALUE_TYPE_CASTS(CSSFunctionValue, isFunctionValue())
+}
#endif