Commit fd780ac3 authored by Yuta Kitamura's avatar Yuta Kitamura Committed by Commit Bot

Revert association of microtask queue to LocalWindowProxy.

crrev.com/c/1648311 added the code that associates Document's
microtask queue to LocalWindowProxy. However, this seems premature
since we're not ready to run context-associated microtask queues yet.
The change had little effect, though, because the changed code path was
rarely executed (we usually create V8 context from snapshot).

We'll make this change again when we are ready to use proper microtask
queues in Blink.

Bug: 961186
Change-Id: I2820f15c59c602ca503ff9ef35f3162f0f71dd8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1675644Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarKeishi Hattori <keishi@chromium.org>
Commit-Queue: Yuta Kitamura <yutak@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672027}
parent f7c12137
......@@ -232,9 +232,7 @@ void LocalWindowProxy::CreateContext() {
V8Window::DomTemplate(isolate, World())->InstanceTemplate();
CHECK(!global_template.IsEmpty());
context = v8::Context::New(isolate, &extension_configuration,
global_template, global_proxy,
v8::DeserializeInternalFieldsCallback(),
document->GetMicrotaskQueue());
global_template, global_proxy);
VLOG(1) << "A context is created NOT from snapshot";
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment