summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/CSSFontValue.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/css/CSSFontValue.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/css/CSSFontValue.h')
-rw-r--r--Source/WebCore/css/CSSFontValue.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/WebCore/css/CSSFontValue.h b/Source/WebCore/css/CSSFontValue.h
index 81ac41a7a..79d548d24 100644
--- a/Source/WebCore/css/CSSFontValue.h
+++ b/Source/WebCore/css/CSSFontValue.h
@@ -18,11 +18,9 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef CSSFontValue_h
-#define CSSFontValue_h
+#pragma once
#include "CSSValue.h"
-#include <wtf/PassRefPtr.h>
#include <wtf/RefPtr.h>
namespace WebCore {
@@ -30,9 +28,9 @@ namespace WebCore {
class CSSPrimitiveValue;
class CSSValueList;
-class CSSFontValue : public CSSValue {
+class CSSFontValue final : public CSSValue {
public:
- static PassRef<CSSFontValue> create()
+ static Ref<CSSFontValue> create()
{
return adoptRef(*new CSSFontValue);
}
@@ -55,8 +53,6 @@ private:
}
};
-CSS_VALUE_TYPE_CASTS(CSSFontValue, isFontValue())
+} // namespace WebCore
-} // namespace
-
-#endif
+SPECIALIZE_TYPE_TRAITS_CSS_VALUE(CSSFontValue, isFontValue())