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

Unified Diff: Source/web/WebKit.cpp

Issue 897523002: Handle rejected promises better for workers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: go back to having rejected-promises be handled on the main thread by EndOfTaskRunner Created 5 years, 10 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: Source/web/WebKit.cpp
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp
index 4d572cce7720533727aad1270b98e95d18c2cd19..0e784cbe84d15e7cd3e8313185f4ec53c9694e36 100644
--- a/Source/web/WebKit.cpp
+++ b/Source/web/WebKit.cpp
@@ -79,7 +79,7 @@ public:
{
Microtask::performCheckpoint();
V8GCController::reportDOMMemoryUsageToV8(mainThreadIsolate());
- V8Initializer::reportRejectedPromises();
+ V8Initializer::reportRejectedPromisesOnMainThread();
}
};
« Source/bindings/core/v8/WorkerScriptController.cpp ('K') | « Source/core/workers/WorkerThread.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698