Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index 46ad21818e78f4940dd8594f34b91c54f1da6b87..b1d0c05772c938798a16fe01a09518ae5e2093c1 100644 |
--- a/src/runtime/runtime-object.cc |
+++ b/src/runtime/runtime-object.cc |
@@ -230,8 +230,10 @@ MUST_USE_RESULT static MaybeHandle<Object> GetOwnProperty(Isolate* isolate, |
if (is_accessor_pair) { |
Handle<AccessorPair> accessors = |
Handle<AccessorPair>::cast(it.GetAccessors()); |
- Handle<Object> getter(accessors->GetComponent(ACCESSOR_GETTER), isolate); |
- Handle<Object> setter(accessors->GetComponent(ACCESSOR_SETTER), isolate); |
+ Handle<Object> getter = |
+ AccessorPair::GetComponent(accessors, ACCESSOR_GETTER); |
+ Handle<Object> setter = |
+ AccessorPair::GetComponent(accessors, ACCESSOR_SETTER); |
elms->set(GETTER_INDEX, *getter); |
elms->set(SETTER_INDEX, *setter); |
} else { |