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; |