Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index e9429bf3858bffced84e5e6f73d2f194617efd6e..56d20f0b344db4db14ad7608780e2bc0f4e5819a 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -655,7 +655,7 @@ void TestCharacterStream(const char* ascii_source, |
factory->NewStringFromAscii(ascii_vector)); |
TestExternalResource resource(uc16_buffer.get(), length); |
i::Handle<i::String> uc16_string( |
- factory->NewExternalStringFromTwoByte(&resource)); |
+ factory->NewExternalStringFromTwoByte(&resource).ToHandleChecked()); |
i::ExternalTwoByteStringUtf16CharacterStream uc16_stream( |
i::Handle<i::ExternalTwoByteString>::cast(uc16_string), start, end); |