summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLHeadingElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLHeadingElement.h')
-rw-r--r--Source/WebCore/html/HTMLHeadingElement.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/WebCore/html/HTMLHeadingElement.h b/Source/WebCore/html/HTMLHeadingElement.h
index f75ffe789..4f1c29712 100644
--- a/Source/WebCore/html/HTMLHeadingElement.h
+++ b/Source/WebCore/html/HTMLHeadingElement.h
@@ -20,8 +20,7 @@
*
*/
-#ifndef HTMLHeadingElement_h
-#define HTMLHeadingElement_h
+#pragma once
#include "HTMLElement.h"
@@ -29,12 +28,10 @@ namespace WebCore {
class HTMLHeadingElement final : public HTMLElement {
public:
- static PassRefPtr<HTMLHeadingElement> create(const QualifiedName&, Document&);
+ static Ref<HTMLHeadingElement> create(const QualifiedName&, Document&);
private:
HTMLHeadingElement(const QualifiedName&, Document&);
};
} // namespace WebCore
-
-#endif // HTMLHeadingElement_h