Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 640865cacfd3b48ca8ef64ba4baa6ebdb1c66c1d..337dd65db00702897c9d828921861cd58b80ef63 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -2318,7 +2318,8 @@ MUST_USE_RESULT MaybeObject* JSProxy::DeletePropertyWithHandler( |
if (has_exception) return Failure::Exception(); |
Object* bool_result = result->ToBoolean(); |
- if (mode == STRICT_DELETION && bool_result == GetHeap()->false_value()) { |
+ if (mode == STRICT_DELETION && |
+ bool_result == isolate->heap()->false_value()) { |
Handle<Object> args[] = { handler, trap_name }; |
Handle<Object> error = isolate->factory()->NewTypeError( |
"handler_failed", HandleVector(args, ARRAY_SIZE(args))); |
@@ -3167,9 +3168,10 @@ MaybeObject* JSObject::DeleteElementWithInterceptor(uint32_t index) { |
ASSERT(result->IsBoolean()); |
return *v8::Utils::OpenHandle(*result); |
} |
- MaybeObject* raw_result = GetElementsAccessor()->Delete(*this_handle, |
- index, |
- NORMAL_DELETION); |
+ MaybeObject* raw_result = this_handle->GetElementsAccessor()->Delete( |
+ *this_handle, |
+ index, |
+ NORMAL_DELETION); |
RETURN_IF_SCHEDULED_EXCEPTION(isolate); |
return raw_result; |
} |