Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 17d2fbc7515bebf774b03c4ad8858b77607c3ed8..4bef425be279c7fa56c2220096783106392ac4da 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -764,7 +764,7 @@ THREADED_TEST(UsingExternalString) { |
CcTest::heap()->CollectGarbage(i::NEW_SPACE); // in survivor space now |
CcTest::heap()->CollectGarbage(i::NEW_SPACE); // in old gen now |
i::Handle<i::String> isymbol = |
- factory->InternalizedStringFromString(istring); |
+ factory->InternalizeString(istring); |
CHECK(isymbol->IsInternalizedString()); |
} |
CcTest::heap()->CollectAllGarbage(i::Heap::kNoGCFlags); |
@@ -784,7 +784,7 @@ THREADED_TEST(UsingExternalAsciiString) { |
CcTest::heap()->CollectGarbage(i::NEW_SPACE); // in survivor space now |
CcTest::heap()->CollectGarbage(i::NEW_SPACE); // in old gen now |
i::Handle<i::String> isymbol = |
- factory->InternalizedStringFromString(istring); |
+ factory->InternalizeString(istring); |
CHECK(isymbol->IsInternalizedString()); |
} |
CcTest::heap()->CollectAllGarbage(i::Heap::kNoGCFlags); |