Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 82b93c95cd0feb7f529ca2a18b295b3e4ae77e31..47a55e6a52b9e3dbfcae4a0b21581dd050476be8 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -27,6 +27,8 @@ |
#include <limits.h> |
+#define USE_NEW_QUERY_CALLBACKS |
+ |
#include "v8.h" |
#include "api.h" |
@@ -1194,12 +1196,12 @@ v8::Handle<Value> CheckThisNamedPropertySetter(Local<String> property, |
return v8::Handle<Value>(); |
} |
-v8::Handle<v8::Boolean> CheckThisIndexedPropertyQuery( |
+v8::Handle<v8::Integer> CheckThisIndexedPropertyQuery( |
uint32_t index, |
const AccessorInfo& info) { |
ApiTestFuzzer::Fuzz(); |
CHECK(info.This()->Equals(bottom)); |
- return v8::Handle<v8::Boolean>(); |
+ return v8::Handle<v8::Integer>(); |
} |