diff options
Diffstat (limited to 'Source/WebCore/html/HTMLQuoteElement.h')
-rw-r--r-- | Source/WebCore/html/HTMLQuoteElement.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/WebCore/html/HTMLQuoteElement.h b/Source/WebCore/html/HTMLQuoteElement.h index 13ff919b4..8bb6e02ca 100644 --- a/Source/WebCore/html/HTMLQuoteElement.h +++ b/Source/WebCore/html/HTMLQuoteElement.h @@ -21,8 +21,7 @@ * */ -#ifndef HTMLQuoteElement_h -#define HTMLQuoteElement_h +#pragma once #include <wtf/Forward.h> #include "HTMLElement.h" @@ -31,15 +30,12 @@ namespace WebCore { class HTMLQuoteElement final : public HTMLElement { public: - static PassRefPtr<HTMLQuoteElement> create(const QualifiedName&, Document&); + static Ref<HTMLQuoteElement> create(const QualifiedName&, Document&); private: HTMLQuoteElement(const QualifiedName&, Document&); - - virtual InsertionNotificationRequest insertedInto(ContainerNode&) override; - virtual bool isURLAttribute(const Attribute&) const override; -}; -} //namespace + bool isURLAttribute(const Attribute&) const final; +}; -#endif +} // namespace WebCore |