Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 3e307175cc334879794cfed4a39a8e845e40d3a6..52a71ac1b2c8e3bd3ac490626b119cb2937567e7 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -15122,9 +15122,11 @@ THREADED_TEST(MorphCompositeStringTest) { |
i::StrLength(c_string))); |
Local<String> lhs(v8::Utils::ToLocal( |
- factory->NewExternalStringFromAscii(&ascii_resource))); |
+ factory->NewExternalStringFromAscii(&ascii_resource) |
+ .ToHandleChecked())); |
Local<String> rhs(v8::Utils::ToLocal( |
- factory->NewExternalStringFromAscii(&ascii_resource))); |
+ factory->NewExternalStringFromAscii(&ascii_resource) |
+ .ToHandleChecked())); |
env->Global()->Set(v8_str("lhs"), lhs); |
env->Global()->Set(v8_str("rhs"), rhs); |