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

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

Issue 133133006: Update Event classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/GestureEvent.h ('k') | Source/core/events/KeyboardEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/HashChangeEvent.h
diff --git a/Source/core/events/HashChangeEvent.h b/Source/core/events/HashChangeEvent.h
index e652df8dca67a8e7571f087428f3ba6c22f24338..16d4f7385b130ac0ff7a2f687b288265f3579341 100644
--- a/Source/core/events/HashChangeEvent.h
+++ b/Source/core/events/HashChangeEvent.h
@@ -35,7 +35,7 @@ struct HashChangeEventInit : public EventInit {
String newURL;
};
-class HashChangeEvent : public Event {
+class HashChangeEvent FINAL : public Event {
public:
static PassRefPtr<HashChangeEvent> create()
{
@@ -66,7 +66,7 @@ public:
const String& oldURL() const { return m_oldURL; }
const String& newURL() const { return m_newURL; }
- virtual const AtomicString& interfaceName() const { return EventNames::HashChangeEvent; }
+ virtual const AtomicString& interfaceName() const OVERRIDE { return EventNames::HashChangeEvent; }
private:
HashChangeEvent()
« no previous file with comments | « Source/core/events/GestureEvent.h ('k') | Source/core/events/KeyboardEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698