Index: src/debug/liveedit.h |
diff --git a/src/debug/liveedit.h b/src/debug/liveedit.h |
index 47c2844cc990d4efba83ca1d8f74f8e99ed9baa9..67be70e00a298969fc1a93238e11d91b82f2ad71 100644 |
--- a/src/debug/liveedit.h |
+++ b/src/debug/liveedit.h |
@@ -252,8 +252,8 @@ class JSArrayBasedStruct { |
} |
Handle<Object> GetField(int field_position) { |
- return Object::GetElement( |
- isolate(), array_, field_position).ToHandleChecked(); |
+ return JSReceiver::GetElement(isolate(), array_, field_position) |
+ .ToHandleChecked(); |
} |
int GetSmiValueField(int field_position) { |
@@ -333,9 +333,8 @@ class SharedInfoWrapper : public JSArrayBasedStruct<SharedInfoWrapper> { |
static bool IsInstance(Handle<JSArray> array) { |
if (array->length() != Smi::FromInt(kSize_)) return false; |
Handle<Object> element( |
- Object::GetElement(array->GetIsolate(), |
- array, |
- kSharedInfoOffset_).ToHandleChecked()); |
+ JSReceiver::GetElement(array->GetIsolate(), array, kSharedInfoOffset_) |
+ .ToHandleChecked()); |
if (!element->IsJSValue()) return false; |
return Handle<JSValue>::cast(element)->value()->IsSharedFunctionInfo(); |
} |