Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 4c53e197b9e06329821653c8d320dc84ea93e9f1..c2d324e502589acb7391972d1c67e4753170b232 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -753,8 +753,8 @@ bool Debug::CompileDebuggerScript(Isolate* isolate, int index) { |
Handle<String> source_code = |
isolate->bootstrapper()->NativesSourceLookup(index); |
Vector<const char> name = Natives::GetScriptName(index); |
- Handle<String> script_name = factory->NewStringFromAscii(name); |
- ASSERT(!script_name.is_null()); |
+ Handle<String> script_name = |
+ factory->NewStringFromAscii(name).ToHandleChecked(); |
Handle<Context> context = isolate->native_context(); |
// Compile the script. |