fix: gin_helper::MicrotasksScope instantiation (#43185)
This commit is contained in:
parent
e64302cc91
commit
6877671390
12 changed files with 55 additions and 44 deletions
|
@ -34,9 +34,9 @@ class V8Serializer : public v8::ValueSerializer::Delegate {
|
|||
~V8Serializer() override = default;
|
||||
|
||||
bool Serialize(v8::Local<v8::Value> value, blink::CloneableMessage* out) {
|
||||
gin_helper::MicrotasksScope microtasks_scope(
|
||||
isolate_, isolate_->GetCurrentContext()->GetMicrotaskQueue(),
|
||||
v8::MicrotasksScope::kDoNotRunMicrotasks);
|
||||
gin_helper::MicrotasksScope microtasks_scope{
|
||||
isolate_, isolate_->GetCurrentContext()->GetMicrotaskQueue(), false,
|
||||
v8::MicrotasksScope::kDoNotRunMicrotasks};
|
||||
WriteBlinkEnvelope(19);
|
||||
|
||||
serializer_.WriteHeader();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue