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

Unified Diff: src/js/promise.js

Issue 2016183002: Promises: cleanup call to PromiseSet (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/promise.js
diff --git a/src/js/promise.js b/src/js/promise.js
index fcb0826f8405c1839ec1f3cafda887b18de9294b..4f33245667485e1e853dbaed74e161b6f4700f6f 100644
--- a/src/js/promise.js
+++ b/src/js/promise.js
@@ -127,8 +127,7 @@ function PromiseCreateAndSet(status, value) {
}
function PromiseInit(promise) {
- return PromiseSet(
- promise, kPending, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED);
+ return PromiseSet(promise, kPending, UNDEFINED);
}
function FulfillPromise(promise, status, value, promiseQueue) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698