Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1121)

Unified Diff: Source/core/html/HTMLStyleElement.h

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLSourceElement.cpp ('k') | Source/core/html/HTMLSummaryElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLStyleElement.h
diff --git a/Source/core/html/HTMLStyleElement.h b/Source/core/html/HTMLStyleElement.h
index 97729551f087cfd0f003cbbe29917107720c1567..d9f43252b7caa06ad41b361d0b491a5606c187e8 100644
--- a/Source/core/html/HTMLStyleElement.h
+++ b/Source/core/html/HTMLStyleElement.h
@@ -33,7 +33,7 @@ class HTMLStyleElement;
template<typename T> class EventSender;
typedef EventSender<HTMLStyleElement> StyleEventSender;
-class HTMLStyleElement FINAL : public HTMLElement, private StyleElement {
+class HTMLStyleElement final : public HTMLElement, private StyleElement {
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLStyleElement);
public:
@@ -50,26 +50,26 @@ public:
void dispatchPendingEvent(StyleEventSender*);
static void dispatchPendingLoadEvents();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
HTMLStyleElement(Document&, bool createdByParser);
// overload from HTMLElement
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
- virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE;
- virtual void removedFrom(ContainerNode*) OVERRIDE;
- virtual void childrenChanged(const ChildrenChange&) OVERRIDE;
+ virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ virtual void didNotifySubtreeInsertionsToDocument() override;
+ virtual void removedFrom(ContainerNode*) override;
+ virtual void childrenChanged(const ChildrenChange&) override;
- virtual void finishParsingChildren() OVERRIDE;
+ virtual void finishParsingChildren() override;
- virtual bool sheetLoaded() OVERRIDE { return StyleElement::sheetLoaded(document()); }
- virtual void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) OVERRIDE;
- virtual void startLoadingDynamicSheet() OVERRIDE { StyleElement::startLoadingDynamicSheet(document()); }
+ virtual bool sheetLoaded() override { return StyleElement::sheetLoaded(document()); }
+ virtual void notifyLoadedSheetAndAllCriticalSubresources(bool errorOccurred) override;
+ virtual void startLoadingDynamicSheet() override { StyleElement::startLoadingDynamicSheet(document()); }
- virtual const AtomicString& media() const OVERRIDE;
- virtual const AtomicString& type() const OVERRIDE;
+ virtual const AtomicString& media() const override;
+ virtual const AtomicString& type() const override;
bool m_firedLoad;
bool m_loadedSheet;
« no previous file with comments | « Source/core/html/HTMLSourceElement.cpp ('k') | Source/core/html/HTMLSummaryElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698