refactor: only pass v8::Context
to gin_helper::MicrotasksScope
constructor (#45484)
refactor: forward v8::Context to v8::MicrotasksScope constructor
This commit is contained in:
parent
326957009a
commit
517935cd55
14 changed files with 23 additions and 37 deletions
|
@ -36,7 +36,7 @@ class V8Serializer : public v8::ValueSerializer::Delegate {
|
|||
|
||||
bool Serialize(v8::Local<v8::Value> value, blink::CloneableMessage* out) {
|
||||
gin_helper::MicrotasksScope microtasks_scope{
|
||||
isolate_, isolate_->GetCurrentContext()->GetMicrotaskQueue(), false,
|
||||
isolate_->GetCurrentContext(), false,
|
||||
v8::MicrotasksScope::kDoNotRunMicrotasks};
|
||||
WriteBlinkEnvelope(19);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue