Index: test/cctest/test-accessors.cc |
diff --git a/test/cctest/test-accessors.cc b/test/cctest/test-accessors.cc |
index b3fb9041dd4ae533b113f8510322723a5ab58650..9667afb703972e5bd136067027baa766d60da78b 100644 |
--- a/test/cctest/test-accessors.cc |
+++ b/test/cctest/test-accessors.cc |
@@ -775,19 +775,18 @@ TEST(PrototypeGetterAccessCheck) { |
} |
} |
-static void check_receiver(Local<String> name, |
- const v8::PropertyCallbackInfo<v8::Value>& info) { |
+static void CheckReceiver(Local<String> name, |
+ const v8::PropertyCallbackInfo<v8::Value>& info) { |
CHECK(info.This()->IsObject()); |
} |
TEST(Regress609134) { |
- v8::internal::FLAG_allow_natives_syntax = true; |
LocalContext env; |
v8::Isolate* isolate = env->GetIsolate(); |
v8::HandleScope scope(isolate); |
auto fun_templ = v8::FunctionTemplate::New(isolate); |
fun_templ->InstanceTemplate()->SetNativeDataProperty(v8_str("foo"), |
- check_receiver); |
+ CheckReceiver); |
CHECK(env->Global() |
->Set(env.local(), v8_str("Fun"), |