Index: test/cctest/test-declarative-accessors.cc |
diff --git a/test/cctest/test-declarative-accessors.cc b/test/cctest/test-declarative-accessors.cc |
index 2d2f5cd23b2c318ea62a7f83a18e940dfb2a934e..e3c7fa5f1199db85e1608ef6a2f6f6bd0440e43e 100644 |
--- a/test/cctest/test-declarative-accessors.cc |
+++ b/test/cctest/test-declarative-accessors.cc |
@@ -38,11 +38,11 @@ class HandleArray : public Malloced { |
public: |
static const unsigned kArraySize = 200; |
explicit HandleArray() {} |
- ~HandleArray() { Reset(v8::Isolate::GetCurrent()); } |
- void Reset(v8::Isolate* isolate) { |
+ ~HandleArray() { Reset(); } |
+ void Reset() { |
for (unsigned i = 0; i < kArraySize; i++) { |
if (handles_[i].IsEmpty()) continue; |
- handles_[i].Dispose(isolate); |
+ handles_[i].Dispose(); |
handles_[i].Clear(); |
} |
} |