Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index cb3a38eee8e95f66dc294dce3dc5197050bc630e..66a208bb5e0f60cda51e76389c9d9505e654097c 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -2007,88 +2007,90 @@ THREADED_TEST(IndexedPropertyHandlerGetter) { |
v8::Handle<v8::Object> bottom; |
-static v8::Handle<Value> CheckThisIndexedPropertyHandler( |
+static void CheckThisIndexedPropertyHandler( |
uint32_t index, |
- const AccessorInfo& info) { |
+ const v8::PropertyCallbackInfo<v8::Value>& info) { |
+ CheckReturnValue(info); |
ApiTestFuzzer::Fuzz(); |
CHECK(info.This()->Equals(bottom)); |
- return v8::Handle<Value>(); |
} |
-static v8::Handle<Value> CheckThisNamedPropertyHandler( |
+static void CheckThisNamedPropertyHandler( |
Local<String> name, |
- const AccessorInfo& info) { |
+ const v8::PropertyCallbackInfo<v8::Value>& info) { |
+ CheckReturnValue(info); |
ApiTestFuzzer::Fuzz(); |
CHECK(info.This()->Equals(bottom)); |
- return v8::Handle<Value>(); |
} |
- |
-v8::Handle<Value> CheckThisIndexedPropertySetter(uint32_t index, |
- Local<Value> value, |
- const AccessorInfo& info) { |
+void CheckThisIndexedPropertySetter( |
+ uint32_t index, |
+ Local<Value> value, |
+ const v8::PropertyCallbackInfo<v8::Value>& info) { |
+ CheckReturnValue(info); |
ApiTestFuzzer::Fuzz(); |
CHECK(info.This()->Equals(bottom)); |
- return v8::Handle<Value>(); |
} |
-v8::Handle<Value> CheckThisNamedPropertySetter(Local<String> property, |
- Local<Value> value, |
- const AccessorInfo& info) { |
+void CheckThisNamedPropertySetter( |
+ Local<String> property, |
+ Local<Value> value, |
+ const v8::PropertyCallbackInfo<v8::Value>& info) { |
+ CheckReturnValue(info); |
ApiTestFuzzer::Fuzz(); |
CHECK(info.This()->Equals(bottom)); |
- return v8::Handle<Value>(); |
} |
-v8::Handle<v8::Integer> CheckThisIndexedPropertyQuery( |
+void CheckThisIndexedPropertyQuery( |
uint32_t index, |
- const AccessorInfo& info) { |
+ const v8::PropertyCallbackInfo<v8::Integer>& info) { |
+ CheckReturnValue(info); |
ApiTestFuzzer::Fuzz(); |
CHECK(info.This()->Equals(bottom)); |
- return v8::Handle<v8::Integer>(); |
} |
-v8::Handle<v8::Integer> CheckThisNamedPropertyQuery(Local<String> property, |
- const AccessorInfo& info) { |
+void CheckThisNamedPropertyQuery( |
+ Local<String> property, |
+ const v8::PropertyCallbackInfo<v8::Integer>& info) { |
+ CheckReturnValue(info); |
ApiTestFuzzer::Fuzz(); |
CHECK(info.This()->Equals(bottom)); |
- return v8::Handle<v8::Integer>(); |
} |
-v8::Handle<v8::Boolean> CheckThisIndexedPropertyDeleter( |
+void CheckThisIndexedPropertyDeleter( |
uint32_t index, |
- const AccessorInfo& info) { |
+ const v8::PropertyCallbackInfo<v8::Boolean>& info) { |
+ CheckReturnValue(info); |
ApiTestFuzzer::Fuzz(); |
CHECK(info.This()->Equals(bottom)); |
- return v8::Handle<v8::Boolean>(); |
} |
-v8::Handle<v8::Boolean> CheckThisNamedPropertyDeleter( |
+void CheckThisNamedPropertyDeleter( |
Local<String> property, |
- const AccessorInfo& info) { |
+ const v8::PropertyCallbackInfo<v8::Boolean>& info) { |
+ CheckReturnValue(info); |
ApiTestFuzzer::Fuzz(); |
CHECK(info.This()->Equals(bottom)); |
- return v8::Handle<v8::Boolean>(); |
} |
-v8::Handle<v8::Array> CheckThisIndexedPropertyEnumerator( |
- const AccessorInfo& info) { |
+void CheckThisIndexedPropertyEnumerator( |
+ const v8::PropertyCallbackInfo<v8::Array>& info) { |
+ CheckReturnValue(info); |
ApiTestFuzzer::Fuzz(); |
CHECK(info.This()->Equals(bottom)); |
- return v8::Handle<v8::Array>(); |
} |
-v8::Handle<v8::Array> CheckThisNamedPropertyEnumerator( |
- const AccessorInfo& info) { |
+void CheckThisNamedPropertyEnumerator( |
+ const v8::PropertyCallbackInfo<v8::Array>& info) { |
+ CheckReturnValue(info); |
ApiTestFuzzer::Fuzz(); |
CHECK(info.This()->Equals(bottom)); |
- return v8::Handle<v8::Array>(); |
} |