Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index d8678c5dbbb94c9c3edb30ed585baff8852b88d4..fe14bdbc05d8520a4f94c8b2ac4e6053d27b6b44 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2967,7 +2967,8 @@ void ReleaseStackTraceDataTest(const char* source, const char* accessor) { |
SourceResource* resource = new SourceResource(i::StrDup(source)); |
{ |
v8::HandleScope scope(CcTest::isolate()); |
- v8::Handle<v8::String> source_string = v8::String::NewExternal(resource); |
+ v8::Handle<v8::String> source_string = |
+ v8::String::NewExternal(CcTest::isolate(), resource); |
CcTest::heap()->CollectAllAvailableGarbage(); |
v8::Script::Compile(source_string)->Run(); |
CHECK(!resource->IsDisposed()); |