Use GetEnteredOrMicrotaskContext instead of GetEnteredContext
This CL replaces all usage of v8::Isolate::GetEnteredContext in Blink with GetEnteredOrMicrotaskContext. GetEnteredOrMicrotaskContext should be the better fit here as the EnteredContext may be unrelated to the currently running script's context when it's in the microtask queue. chromium: 887920 Change-Id: I9da9777fb3b365fa181d2d9660c36a071734acf3 Reviewed-on: https://chromium-review.googlesource.com/c/1319220Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Taiju Tsuiki <tzik@chromium.org> Cr-Commit-Position: refs/heads/master@{#605964}
Showing
Please register or sign in to comment