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

Unified Diff: Source/bindings/core/v8/V8Initializer.h

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/bindings/core/v8/V8Initializer.h
diff --git a/Source/bindings/core/v8/V8Initializer.h b/Source/bindings/core/v8/V8Initializer.h
index 05263eefff3d88ea0fe186ac8b59c9b4c6e7eeef..eb072f1b65a472212cd20ccafd3187730893dfca 100644
--- a/Source/bindings/core/v8/V8Initializer.h
+++ b/Source/bindings/core/v8/V8Initializer.h
@@ -34,7 +34,8 @@ class V8Initializer {
public:
static void initializeMainThreadIfNeeded();
static void initializeWorker(v8::Isolate*);
- static void reportRejectedPromises();
+
+ static void reportRejectedPromisesOnMainThread();
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698