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

Unified Diff: src/objects.cc

Issue 1408163005: [es6] Partially implement Reflect.getOwnPropertyDescriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 226878cda43b97f8a427d7125c1214c1fa2e2945..5c9241d50b3c96fd0f1ca2fd62f3514f2a4bd839 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -6576,7 +6576,7 @@ bool JSArray::ArraySetLength(Isolate* isolate, Handle<JSArray> a,
// static
bool JSReceiver::GetOwnPropertyDescriptor(Isolate* isolate,
- Handle<JSObject> object,
+ Handle<JSReceiver> object,
Handle<Object> key,
PropertyDescriptor* desc) {
bool success = false;

Powered by Google App Engine
This is Rietveld 408576698