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

Unified Diff: Source/bindings/v8/ScriptHeapSnapshot.cpp

Issue 137603004: Update more bindings 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 | « no previous file | Source/bindings/v8/ScriptProfiler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ScriptHeapSnapshot.cpp
diff --git a/Source/bindings/v8/ScriptHeapSnapshot.cpp b/Source/bindings/v8/ScriptHeapSnapshot.cpp
index 6077b57febde3098507dd54765c3b4b819b4466e..f8ab5dd020f20504e9629bd55e9fd499d7542bab 100644
--- a/Source/bindings/v8/ScriptHeapSnapshot.cpp
+++ b/Source/bindings/v8/ScriptHeapSnapshot.cpp
@@ -63,13 +63,13 @@ SnapshotObjectId ScriptHeapSnapshot::maxSnapshotJSObjectId() const
namespace {
-class OutputStreamAdapter : public v8::OutputStream {
+class OutputStreamAdapter FINAL : public v8::OutputStream {
public:
OutputStreamAdapter(ScriptHeapSnapshot::OutputStream* output)
: m_output(output) { }
- void EndOfStream() { m_output->Close(); }
- int GetChunkSize() { return 102400; }
- WriteResult WriteAsciiChunk(char* data, int size)
+ virtual void EndOfStream() OVERRIDE { m_output->Close(); }
+ virtual int GetChunkSize() OVERRIDE { return 102400; }
+ virtual WriteResult WriteAsciiChunk(char* data, int size) OVERRIDE
{
m_output->Write(String(data, size));
return kContinue;
« no previous file with comments | « no previous file | Source/bindings/v8/ScriptProfiler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698