summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLLIElement.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/html/HTMLLIElement.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/html/HTMLLIElement.h')
-rw-r--r--Source/WebCore/html/HTMLLIElement.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/Source/WebCore/html/HTMLLIElement.h b/Source/WebCore/html/HTMLLIElement.h
index e76130096..8d871ec56 100644
--- a/Source/WebCore/html/HTMLLIElement.h
+++ b/Source/WebCore/html/HTMLLIElement.h
@@ -20,8 +20,7 @@
*
*/
-#ifndef HTMLLIElement_h
-#define HTMLLIElement_h
+#pragma once
#include "HTMLElement.h"
@@ -29,21 +28,19 @@ namespace WebCore {
class HTMLLIElement final : public HTMLElement {
public:
- static PassRefPtr<HTMLLIElement> create(Document&);
- static PassRefPtr<HTMLLIElement> create(const QualifiedName&, Document&);
+ static Ref<HTMLLIElement> create(Document&);
+ static Ref<HTMLLIElement> create(const QualifiedName&, Document&);
private:
HTMLLIElement(const QualifiedName&, Document&);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
- virtual bool isPresentationAttribute(const QualifiedName&) const override;
- virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
+ bool isPresentationAttribute(const QualifiedName&) const final;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
- virtual void didAttachRenderers() override;
+ void didAttachRenderers() final;
void parseValue(const AtomicString&);
};
-} //namespace
-
-#endif
+} // namespace WebCore