Index: test/cctest/test-regexp.cc |
diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc |
index ac605a853058b508d0fc061776ad510635bb474a..083bbcc6253176f315c0e6d5d6a849eb69f28c4d 100644 |
--- a/test/cctest/test-regexp.cc |
+++ b/test/cctest/test-regexp.cc |
@@ -714,7 +714,7 @@ class ContextInitializer { |
} |
~ContextInitializer() { |
env_->Exit(); |
- env_.Dispose(); |
+ env_.Dispose(env_->GetIsolate()); |
} |
private: |
v8::Persistent<v8::Context> env_; |