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

Unified Diff: src/promise-utils.h

Issue 2575313002: [promisehook] Implement PromiseHook (Closed)
Patch Set: move resolve hook Created 4 years 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: src/promise-utils.h
diff --git a/src/promise-utils.h b/src/promise-utils.h
index b63b4ab58a2e1bd172ad96e931ee91c72bfade0b..740cd01836ac32608b00bfe153473a05cf77847d 100644
--- a/src/promise-utils.h
+++ b/src/promise-utils.h
@@ -29,7 +29,7 @@ class PromiseUtils : public AllStatic {
// These get and set the slots on the PromiseResolvingContext, which
// is used by the resolve/reject promise callbacks.
- static JSObject* GetPromise(Handle<Context> context);
+ static JSPromise* GetPromise(Handle<Context> context);
static Object* GetDebugEvent(Handle<Context> context);
static bool HasAlreadyVisited(Handle<Context> context);
static void SetAlreadyVisited(Handle<Context> context);

Powered by Google App Engine
This is Rietveld 408576698