Index: test/cctest/test-declarative-accessors.cc |
diff --git a/test/cctest/test-declarative-accessors.cc b/test/cctest/test-declarative-accessors.cc |
index fa5a0452fdbb350f9035d3b2cd8c64f428bc0c9b..fb22ccdbabc2e9f17bd4563e71ca033162854bf9 100644 |
--- a/test/cctest/test-declarative-accessors.cc |
+++ b/test/cctest/test-declarative-accessors.cc |
@@ -78,7 +78,7 @@ class DescriptorTestHelper { |
DescriptorTestHelper() : |
isolate_(NULL), array_(new AlignedArray), handle_array_(new HandleArray) { |
v8::V8::Initialize(); |
- isolate_ = v8::Isolate::GetCurrent(); |
+ isolate_ = CcTest::isolate(); |
} |
v8::Isolate* isolate_; |
// Data objects. |