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

Unified Diff: Source/core/frame/Console.h

Issue 134043004: Update page & frame 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 | « no previous file | Source/core/frame/DOMSecurityPolicy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Console.h
diff --git a/Source/core/frame/Console.h b/Source/core/frame/Console.h
index 0cac1a60b02afb700296d985cc764dc8b478bd68..3b65af938a29f0a7db2e6c8270ff21b83f03bc43 100644
--- a/Source/core/frame/Console.h
+++ b/Source/core/frame/Console.h
@@ -44,7 +44,7 @@ class MemoryInfo;
class Page;
class ScriptArguments;
-class Console : public RefCounted<Console>, public ConsoleBase, public ScriptWrappable, public DOMWindowProperty {
+class Console FINAL : public RefCounted<Console>, public ConsoleBase, public ScriptWrappable, public DOMWindowProperty {
public:
using RefCounted<Console>::ref;
using RefCounted<Console>::deref;
@@ -55,14 +55,14 @@ public:
PassRefPtr<MemoryInfo> memory() const;
protected:
- virtual ExecutionContext* context();
+ virtual ExecutionContext* context() OVERRIDE;
virtual void reportMessageToClient(MessageLevel, const String& message, PassRefPtr<ScriptCallStack>) OVERRIDE;
private:
explicit Console(Frame*);
- virtual void refConsole() { ref(); }
- virtual void derefConsole() { deref(); }
+ virtual void refConsole() OVERRIDE { ref(); }
+ virtual void derefConsole() OVERRIDE { deref(); }
};
} // namespace WebCore
« no previous file with comments | « no previous file | Source/core/frame/DOMSecurityPolicy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698