| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 370ebc43a829b6161bd3edd136f5dc2f5d7371d7..2bb4efa74546356cfc1577ea2f81b6bc809cdc0b 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -21535,10 +21535,9 @@ void StubCacheHelper(bool primary) {
|
| i::FLAG_turbo = false;
|
| v8::Isolate::CreateParams create_params;
|
| create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
| + create_params.counter_lookup_callback = LookupCounter;
|
| v8::Isolate* isolate = v8::Isolate::New(create_params);
|
|
|
| - isolate->SetCounterFunction(LookupCounter);
|
| -
|
| {
|
| v8::Isolate::Scope isolate_scope(isolate);
|
| LocalContext env(isolate);
|
|
|