Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 30fea91d796b99db864bc8e07f3d2534d9218259..d3cb8b5ee20d52de8193ade6e9e256666d357f2d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -2029,7 +2029,7 @@ MaybeObject* JSObject::SetPropertyWithCallbackSetterInPrototypes( |
strict_mode); |
} else if (accessor_result.type() == HANDLER) { |
// There is a proxy in the prototype chain. Invoke its |
- // getOwnPropertyDescriptor trap. |
+ // getPropertyDescriptor trap. |
bool found = false; |
// SetPropertyWithHandlerIfDefiningSetter can cause GC, |
// make sure to use the handlified references after calling |
@@ -2448,7 +2448,7 @@ MUST_USE_RESULT MaybeObject* JSProxy::SetPropertyWithHandlerIfDefiningSetter( |
Handle<Object> value(value_raw); |
Handle<Object> args[] = { name }; |
Handle<Object> result = proxy->CallTrap( |
- "getOwnPropertyDescriptor", Handle<Object>(), ARRAY_SIZE(args), args); |
+ "getPropertyDescriptor", Handle<Object>(), ARRAY_SIZE(args), args); |
if (isolate->has_pending_exception()) return Failure::Exception(); |
if (!result->IsUndefined()) { |