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); |