Index: src/mksnapshot.cc |
diff --git a/src/mksnapshot.cc b/src/mksnapshot.cc |
index c1edcb1b3a149d462dd9e071e0f9fad043c913bd..9e63555b5e218742eef9ad2eda52eac13bc2ebb3 100644 |
--- a/src/mksnapshot.cc |
+++ b/src/mksnapshot.cc |
@@ -398,7 +398,7 @@ int main(int argc, char** argv) { |
// context even after we have disposed of the context. |
HEAP->CollectAllGarbage(i::Heap::kNoGCFlags, "mksnapshot"); |
i::Object* raw_context = *v8::Utils::OpenPersistent(context); |
- context.Dispose(isolate); |
+ context.Dispose(); |
CppByteSink sink(argv[1]); |
// This results in a somewhat smaller snapshot, probably because it gets rid |
// of some things that are cached between garbage collections. |