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

Unified Diff: src/factory.cc

Issue 2633443002: [promisehook] Pass deferred promise to Before/After callback (Closed)
Patch Set: Remove adaptor Created 3 years, 11 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 | « src/factory.h ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 877b3f7c685750688f890c2c16b0e11a44193bc1..b888d920b71cae2b2be5bc7da17ba9791aebd093 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -1048,12 +1048,11 @@ Handle<Struct> Factory::NewStruct(InstanceType type) {
}
Handle<PromiseReactionJobInfo> Factory::NewPromiseReactionJobInfo(
- Handle<JSPromise> promise, Handle<Object> value, Handle<Object> tasks,
- Handle<Object> deferred_promise, Handle<Object> deferred_on_resolve,
- Handle<Object> deferred_on_reject, Handle<Context> context) {
+ Handle<Object> value, Handle<Object> tasks, Handle<Object> deferred_promise,
+ Handle<Object> deferred_on_resolve, Handle<Object> deferred_on_reject,
+ Handle<Context> context) {
Handle<PromiseReactionJobInfo> result = Handle<PromiseReactionJobInfo>::cast(
NewStruct(PROMISE_REACTION_JOB_INFO_TYPE));
- result->set_promise(*promise);
result->set_value(*value);
result->set_tasks(*tasks);
result->set_deferred_promise(*deferred_promise);
« no previous file with comments | « src/factory.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698