From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/HTMLLIElement.h | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'Source/WebCore/html/HTMLLIElement.h') 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 create(Document&); - static PassRefPtr create(const QualifiedName&, Document&); + static Ref create(Document&); + static Ref 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 -- cgit v1.2.1