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

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

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/DOMWindowEventQueue.h ('k') | Source/core/events/EventFactory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/ErrorEvent.h
diff --git a/Source/core/events/ErrorEvent.h b/Source/core/events/ErrorEvent.h
index e8e78ee9bb78c87318d00f125ec9139b762a2414..2b0f71187cdb1cf09dd8781cf0d385199c6de573 100644
--- a/Source/core/events/ErrorEvent.h
+++ b/Source/core/events/ErrorEvent.h
@@ -58,7 +58,7 @@ public:
{
return adoptRefWillBeNoop(new ErrorEvent("Script error.", String(), 0, 0, world));
}
- virtual ~ErrorEvent();
+ ~ErrorEvent() override;
// As 'message' is exposed to JavaScript, never return unsanitizedMessage.
const String& message() const { return m_sanitizedMessage; }
@@ -70,7 +70,7 @@ public:
// 'messageForConsole' is not exposed to JavaScript, and prefers 'm_unsanitizedMessage'.
const String& messageForConsole() const { return !m_unsanitizedMessage.isEmpty() ? m_unsanitizedMessage : m_sanitizedMessage; }
- virtual const AtomicString& interfaceName() const override;
+ const AtomicString& interfaceName() const override;
DOMWrapperWorld* world() const { return m_world.get(); }
« no previous file with comments | « Source/core/events/DOMWindowEventQueue.h ('k') | Source/core/events/EventFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698