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

Unified Diff: Source/core/workers/WorkerConsole.h

Issue 134213006: Update worker 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
Index: Source/core/workers/WorkerConsole.h
diff --git a/Source/core/workers/WorkerConsole.h b/Source/core/workers/WorkerConsole.h
index 8d51b99c30c46789e672a00175ffb9992c37d96f..a2ef40d2042cdc7696932104c27853836dd107d8 100644
--- a/Source/core/workers/WorkerConsole.h
+++ b/Source/core/workers/WorkerConsole.h
@@ -43,7 +43,7 @@ namespace WebCore {
class ScriptArguments;
-class WorkerConsole : public RefCounted<WorkerConsole>, public ConsoleBase, public ScriptWrappable {
+class WorkerConsole FINAL : public RefCounted<WorkerConsole>, public ConsoleBase, public ScriptWrappable {
public:
using RefCounted<WorkerConsole>::ref;
using RefCounted<WorkerConsole>::deref;
@@ -52,14 +52,14 @@ public:
virtual ~WorkerConsole();
protected:
- virtual ExecutionContext* context();
+ virtual ExecutionContext* context() OVERRIDE;
virtual void reportMessageToClient(MessageLevel, const String& message, PassRefPtr<ScriptCallStack>) OVERRIDE;
private:
explicit WorkerConsole(WorkerGlobalScope*);
- virtual void refConsole() { ref(); }
- virtual void derefConsole() { deref(); }
+ virtual void refConsole() OVERRIDE { ref(); }
+ virtual void derefConsole() OVERRIDE { deref(); }
WorkerGlobalScope* m_scope;
};

Powered by Google App Engine
This is Rietveld 408576698