Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index b0139a70a68e4fc4f32bdf94c4833cc233087986..abb519eea29ee6d016721784aa882a3459ce7ed0 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -3257,9 +3257,8 @@ void Isolate::RunMicrotasksInternal() { |
if (microtask->IsJSFunction()) { |
context = Handle<JSFunction>::cast(microtask)->context(); |
} else if (microtask->IsPromiseResolveThenableJobInfo()) { |
- context = Handle<PromiseResolveThenableJobInfo>::cast(microtask) |
- ->resolve() |
- ->context(); |
+ context = |
+ Handle<PromiseResolveThenableJobInfo>::cast(microtask)->context(); |
} else { |
context = Handle<PromiseReactionJobInfo>::cast(microtask)->context(); |
} |