Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 04085961492ded446bc2326a65f72e3d1696ac06..f90a91ad8226a916b5c1917c79bef1e14ac0a036 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -931,7 +931,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()); |
} |