From 6490c4f3fc54ef0ab8bb449a3acc38d4233eaa01 Mon Sep 17 00:00:00 2001 From: Clemens Backes Date: Wed, 16 Apr 2025 16:13:38 +0200 Subject: [PATCH] [json_parser] Add missing isolate scope Other methods in the same file already had it, but in this one spot it was missing. This blocked https://crrev.com/c/6458560. --- src/json_parser.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/json_parser.cc b/src/json_parser.cc index 878028d0d2dd61..cd129b32bc2564 100644 --- a/src/json_parser.cc +++ b/src/json_parser.cc @@ -105,6 +105,7 @@ std::optional JSONParser::GetTopLevelBoolField(std::string_view field) { std::optional JSONParser::GetTopLevelStringDict( std::string_view field) { Isolate* isolate = isolate_.get(); + v8::Isolate::Scope isolate_scope(isolate); v8::HandleScope handle_scope(isolate); Local context = context_.Get(isolate); Local content_object = content_.Get(isolate);