Chromium Code Reviews| Index: src/api.cc |
| diff --git a/src/api.cc b/src/api.cc |
| index 7eaadbb6b1963c37e6167fe70b0f5ae676175a13..d70cb35937239e893b7edf0ac1c10ac810443316 100644 |
| --- a/src/api.cc |
| +++ b/src/api.cc |
| @@ -2728,7 +2728,7 @@ bool v8::Object::Set(uint32_t index, v8::Handle<Value> value) { |
| i::Handle<i::JSObject> self = Utils::OpenHandle(this); |
| i::Handle<i::Object> value_obj = Utils::OpenHandle(*value); |
| EXCEPTION_PREAMBLE(isolate); |
| - i::Handle<i::Object> obj = i::SetElement( |
| + i::Handle<i::Object> obj = i::JSObject::SetElement( |
| self, |
| index, |
| value_obj, |
| @@ -2834,7 +2834,7 @@ Local<Value> v8::Object::GetPrototype() { |
| return Local<v8::Value>()); |
| ENTER_V8(isolate); |
| i::Handle<i::Object> self = Utils::OpenHandle(this); |
| - i::Handle<i::Object> result = i::GetPrototype(self); |
| + i::Handle<i::Object> result = i::Object::GetPrototype(self); |
|
Kevin Millikin (Chromium)
2012/01/04 13:00:32
i::Handle<i::Object> result(self->GetPrototype());
ulan
2012/01/05 11:16:35
Done.
|
| return Utils::ToLocal(result); |
| } |
| @@ -2988,7 +2988,7 @@ bool v8::Object::Delete(v8::Handle<String> key) { |
| i::HandleScope scope(isolate); |
| i::Handle<i::JSObject> self = Utils::OpenHandle(this); |
| i::Handle<i::String> key_obj = Utils::OpenHandle(*key); |
| - return i::DeleteProperty(self, key_obj)->IsTrue(); |
| + return i::JSObject::DeleteProperty(self, key_obj)->IsTrue(); |
| } |
| @@ -3009,7 +3009,7 @@ bool v8::Object::Delete(uint32_t index) { |
| ENTER_V8(isolate); |
| HandleScope scope; |
| i::Handle<i::JSObject> self = Utils::OpenHandle(this); |
| - return i::DeleteElement(self, index)->IsTrue(); |
| + return i::JSObject::DeleteElement(self, index)->IsTrue(); |
| } |
| @@ -3214,7 +3214,7 @@ int v8::Object::GetIdentityHash() { |
| ENTER_V8(isolate); |
| i::HandleScope scope(isolate); |
| i::Handle<i::JSObject> self = Utils::OpenHandle(this); |
| - return i::GetIdentityHash(self); |
| + return i::JSObject::GetIdentityHash(self); |
| } |
| @@ -3227,7 +3227,8 @@ bool v8::Object::SetHiddenValue(v8::Handle<v8::String> key, |
| i::Handle<i::JSObject> self = Utils::OpenHandle(this); |
| i::Handle<i::String> key_obj = Utils::OpenHandle(*key); |
| i::Handle<i::Object> value_obj = Utils::OpenHandle(*value); |
| - i::Handle<i::Object> result = i::SetHiddenProperty(self, key_obj, value_obj); |
| + i::Handle<i::Object> result = |
| + i::JSObject::SetHiddenProperty(self, key_obj, value_obj); |
| return *result == *self; |
| } |