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

Unified Diff: Source/core/events/EventTarget.h

Issue 636833002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/events (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/events/EventPath.h ('k') | Source/core/events/FocusEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/EventTarget.h
diff --git a/Source/core/events/EventTarget.h b/Source/core/events/EventTarget.h
index 5168bc008d43daf94f22d07be0f52bb596919aa3..1784d65092401f666a5adf37c459d862d4c44671 100644
--- a/Source/core/events/EventTarget.h
+++ b/Source/core/events/EventTarget.h
@@ -166,8 +166,8 @@ private:
class EventTargetWithInlineData : public EventTarget {
protected:
- virtual EventTargetData* eventTargetData() OVERRIDE FINAL { return &m_eventTargetData; }
- virtual EventTargetData& ensureEventTargetData() OVERRIDE FINAL { return m_eventTargetData; }
+ virtual EventTargetData* eventTargetData() override final { return &m_eventTargetData; }
+ virtual EventTargetData& ensureEventTargetData() override final { return m_eventTargetData; }
private:
EventTargetData m_eventTargetData;
};
@@ -258,8 +258,8 @@ public: \
using baseClass::ref; \
using baseClass::deref; \
private: \
- virtual void refEventTarget() OVERRIDE FINAL { ref(); } \
- virtual void derefEventTarget() OVERRIDE FINAL { deref(); } \
+ virtual void refEventTarget() override final { ref(); } \
+ virtual void derefEventTarget() override final { deref(); } \
typedef int thisIsHereToForceASemiColonAfterThisEventTargetMacro
#define DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(baseClass) DEFINE_EVENT_TARGET_REFCOUNTING(baseClass)
#endif
« no previous file with comments | « Source/core/events/EventPath.h ('k') | Source/core/events/FocusEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698