Index: src/bootstrapper.h |
diff --git a/src/bootstrapper.h b/src/bootstrapper.h |
index 6dea116a58245f182c8fb4af4b66530728c0a02b..f6fcd02ef62e088e2187bafc7dfafff28d59c8e3 100644 |
--- a/src/bootstrapper.h |
+++ b/src/bootstrapper.h |
@@ -47,7 +47,8 @@ class SourceCodeCache V8_FINAL BASE_EMBEDDED { |
Handle<FixedArray> new_array = factory->NewFixedArray(length + 2, TENURED); |
cache_->CopyTo(0, *new_array, 0, cache_->length()); |
cache_ = *new_array; |
- Handle<String> str = factory->NewStringFromAscii(name, TENURED); |
+ Handle<String> str = |
+ factory->NewStringFromAscii(name, TENURED).ToHandleChecked(); |
ASSERT(!str.is_null()); |
cache_->set(length, *str); |
cache_->set(length + 1, *shared); |