summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLDivElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLDivElement.h')
-rw-r--r--Source/WebCore/html/HTMLDivElement.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/WebCore/html/HTMLDivElement.h b/Source/WebCore/html/HTMLDivElement.h
index ff81b9b82..018963884 100644
--- a/Source/WebCore/html/HTMLDivElement.h
+++ b/Source/WebCore/html/HTMLDivElement.h
@@ -20,8 +20,7 @@
*
*/
-#ifndef HTMLDivElement_h
-#define HTMLDivElement_h
+#pragma once
#include "HTMLElement.h"
@@ -29,17 +28,15 @@ namespace WebCore {
class HTMLDivElement : public HTMLElement {
public:
- static PassRefPtr<HTMLDivElement> create(Document&);
- static PassRefPtr<HTMLDivElement> create(const QualifiedName&, Document&);
+ static Ref<HTMLDivElement> create(Document&);
+ static Ref<HTMLDivElement> create(const QualifiedName&, Document&);
protected:
HTMLDivElement(const QualifiedName&, Document&);
private:
- virtual bool isPresentationAttribute(const QualifiedName&) const override;
- virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
};
} // namespace WebCore
-
-#endif // HTMLDivElement_h