diff --git a/src/inspector_profiler.cc b/src/inspector_profiler.cc index 1444a36bdf95a5..b5f63b2b41389d 100644 --- a/src/inspector_profiler.cc +++ b/src/inspector_profiler.cc @@ -229,7 +229,7 @@ void V8CoverageConnection::WriteProfile(Local message) { // Avoid writing to disk if no source-map data: if (!source_map_cache_v->IsUndefined()) { profile->Set(context, FIXED_ONE_BYTE_STRING(isolate, "source-map-cache"), - source_map_cache_v); + source_map_cache_v).ToChecked(); } Local result_s;