Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: gin/run_microtasks_observer.cc

Issue 1743763004: Use v8::MicrotasksScope internally in V8RecursionScope. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8rs-2-endofscope
Patch Set: v8_helpers Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gin/run_microtasks_observer.cc
diff --git a/gin/run_microtasks_observer.cc b/gin/run_microtasks_observer.cc
index f453a66a1ebdcb46df60c1ece6888a5af3be58a8..0ca00787050ae880002e23a61c3f8ca09070d9da 100644
--- a/gin/run_microtasks_observer.cc
+++ b/gin/run_microtasks_observer.cc
@@ -15,7 +15,7 @@ void RunMicrotasksObserver::WillProcessTask(const base::PendingTask& task) {
void RunMicrotasksObserver::DidProcessTask(const base::PendingTask& task) {
v8::Isolate::Scope scope(isolate_);
- isolate_->RunMicrotasks();
+ v8::MicrotasksScope::PerformCheckpoint(isolate_);
}
} // namespace gin
« no previous file with comments | « gin/run_microtasks_observer.h ('k') | third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698