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

Unified Diff: Source/core/events/BeforeLoadEvent.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/AutocompleteErrorEvent.h ('k') | Source/core/events/BeforeTextInsertedEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/BeforeLoadEvent.h
diff --git a/Source/core/events/BeforeLoadEvent.h b/Source/core/events/BeforeLoadEvent.h
index f52c5377f2a2aa79e779625ffdf34f0eb143fed8..f4d5cd3cb151bc81cc47cb0b0919dd9caccb5cd7 100644
--- a/Source/core/events/BeforeLoadEvent.h
+++ b/Source/core/events/BeforeLoadEvent.h
@@ -40,7 +40,7 @@ struct BeforeLoadEventInit : public EventInit {
String url;
};
-class BeforeLoadEvent : public Event {
+class BeforeLoadEvent FINAL : public Event {
public:
static PassRefPtr<BeforeLoadEvent> create()
{
@@ -59,7 +59,7 @@ public:
const String& url() const { return m_url; }
- virtual const AtomicString& interfaceName() const { return EventNames::BeforeLoadEvent; }
+ virtual const AtomicString& interfaceName() const OVERRIDE { return EventNames::BeforeLoadEvent; }
private:
BeforeLoadEvent()
« no previous file with comments | « Source/core/events/AutocompleteErrorEvent.h ('k') | Source/core/events/BeforeTextInsertedEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698