| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index e90dd4e2677d53e9abb2e471734f7d977b09c245..5ea1c9e573711e7722f32c5e68ef949165d142a9 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -17994,7 +17994,8 @@ TEST(VisitExternalStrings) {
|
| CcTest::heap()->CollectAllAvailableGarbage(); // Tenure string.
|
| // Turn into a symbol.
|
| i::Handle<i::String> string3_i = v8::Utils::OpenHandle(*string3);
|
| - CHECK(!CcTest::heap()->InternalizeString(*string3_i)->IsFailure());
|
| + CHECK(!CcTest::i_isolate()->factory()->InternalizeString(
|
| + string3_i).is_null());
|
| CHECK(string3_i->IsInternalizedString());
|
|
|
| // We need to add usages for string* to avoid warnings in GCC 4.7
|
|
|