| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 86bdc7cbb268078db55c5e019a891e5a1f1cc659..d86d6c1f1000d02413885c9992ea2f1f0073cde4 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -584,7 +584,7 @@ bool Object::IsPromise(Handle<Object> object) {
|
| auto isolate = js_object->GetIsolate();
|
| // TODO(dcarney): this should just be read from the symbol registry so as not
|
| // to be context dependent.
|
| - auto key = isolate->factory()->promise_status_symbol();
|
| + auto key = isolate->factory()->promise_state_symbol();
|
| // Shouldn't be possible to throw here.
|
| return JSObject::HasRealNamedProperty(js_object, key).FromJust();
|
| }
|
|
|