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

Unified Diff: Source/core/frame/DOMWindow.cpp

Issue 137943002: Update more core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/fileapi/FileReaderLoader.h ('k') | Source/core/frame/animation/CSSPropertyAnimation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMWindow.cpp
diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp
index ebaf7813b00664e25e171a6e4297e8db30e7b02b..cf656afa61b558ed9e2d1e59245016dd0b1c25bb 100644
--- a/Source/core/frame/DOMWindow.cpp
+++ b/Source/core/frame/DOMWindow.cpp
@@ -111,7 +111,7 @@ using std::max;
namespace WebCore {
-class PostMessageTimer : public TimerBase {
+class PostMessageTimer FINAL : public TimerBase {
public:
PostMessageTimer(DOMWindow* window, PassRefPtr<SerializedScriptValue> message, const String& sourceOrigin, PassRefPtr<DOMWindow> source, PassOwnPtr<MessagePortChannelArray> channels, SecurityOrigin* targetOrigin, PassRefPtr<ScriptCallStack> stackTrace)
: m_window(window)
@@ -133,7 +133,7 @@ public:
ScriptCallStack* stackTrace() const { return m_stackTrace.get(); }
private:
- virtual void fired()
+ virtual void fired() OVERRIDE
{
m_window->postMessageTimerFired(adoptPtr(this));
// This object is deleted now.
« no previous file with comments | « Source/core/fileapi/FileReaderLoader.h ('k') | Source/core/frame/animation/CSSPropertyAnimation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698