Index: test/cctest/test-decls.cc |
diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc |
index d379fbbc7faa8bf1b80fdcbbcb3600055dbf38b5..efdc39469410a2a202674be62c4ff02319ad0072 100644 |
--- a/test/cctest/test-decls.cc |
+++ b/test/cctest/test-decls.cc |
@@ -53,7 +53,7 @@ class DeclarationContext { |
virtual ~DeclarationContext() { |
if (is_initialized_) { |
context_->Exit(); |
- context_.Dispose(); |
+ context_.Dispose(context_->GetIsolate()); |
} |
} |
@@ -701,7 +701,7 @@ class SimpleContext { |
virtual ~SimpleContext() { |
context_->Exit(); |
- context_.Dispose(); |
+ context_.Dispose(context_->GetIsolate()); |
} |
void Check(const char* source, |