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