Index: test/cctest/test-hashing.cc |
diff --git a/test/cctest/test-hashing.cc b/test/cctest/test-hashing.cc |
index 65362698ede682926c5f4f16ae46417ef675823e..63bb31d2a33e973a41c616a4e63c3bcd685c5ded 100644 |
--- a/test/cctest/test-hashing.cc |
+++ b/test/cctest/test-hashing.cc |
@@ -230,7 +230,7 @@ static uint32_t PseudoRandom(uint32_t i, uint32_t j) { |
TEST(StringHash) { |
- v8::Isolate* isolate = v8::Isolate::GetCurrent(); |
+ v8::Isolate* isolate = CcTest::isolate(); |
v8::HandleScope handle_scope(isolate); |
v8::Context::Scope context_scope(v8::Context::New(isolate)); |
@@ -251,7 +251,7 @@ TEST(StringHash) { |
TEST(NumberHash) { |
- v8::Isolate* isolate = v8::Isolate::GetCurrent(); |
+ v8::Isolate* isolate = CcTest::isolate(); |
v8::HandleScope handle_scope(isolate); |
v8::Context::Scope context_scope(v8::Context::New(isolate)); |