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