| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 8fd87434c1b27aaeb5c31ce8af06026aa834cc62..11a7ac14689a6df1d96b39ef2e020c58adcec301 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -934,7 +934,7 @@ static void CheckReturnValue(const T& t, i::Address callback) {
|
| // If CPU profiler is active check that when API callback is invoked
|
| // VMState is set to EXTERNAL.
|
| if (isolate->cpu_profiler()->is_profiling()) {
|
| - CHECK_EQ(i::EXTERNAL, isolate->current_vm_state());
|
| + CHECK_EQ(v8::EXTERNAL, isolate->current_vm_state());
|
| CHECK(isolate->external_callback_scope());
|
| CHECK_EQ(callback, isolate->external_callback_scope()->callback());
|
| }
|
|
|