diff options
Diffstat (limited to 'Source/WebCore/html/HTMLLIElement.h')
-rw-r--r-- | Source/WebCore/html/HTMLLIElement.h | 19 |
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 |