Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index a1968be8da68a61a89cda7bbd7eede2490167cd0..8b34875f2b8dd0f5f13e8aa021ec76c23f512648 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -81,7 +81,7 @@ static void EnqueueTickSampleEvent(ProfilerEventsProcessor* proc, |
i::Address frame1, |
i::Address frame2 = NULL, |
i::Address frame3 = NULL) { |
- i::TickSample* sample = proc->StartTickSample(); |
+ v8::TickSample* sample = proc->StartTickSample(); |
sample->pc = frame1; |
sample->tos = frame1; |
sample->frames_count = 0; |
@@ -309,10 +309,10 @@ TEST(Issue1398) { |
profiler_listener.CodeCreateEvent(i::Logger::BUILTIN_TAG, code, "bbb"); |
- i::TickSample* sample = processor->StartTickSample(); |
+ v8::TickSample* sample = processor->StartTickSample(); |
sample->pc = code->address(); |
sample->tos = 0; |
- sample->frames_count = i::TickSample::kMaxFramesCount; |
+ sample->frames_count = v8::TickSample::kMaxFramesCount; |
for (unsigned i = 0; i < sample->frames_count; ++i) { |
sample->stack[i] = code->address(); |
} |
@@ -331,7 +331,7 @@ TEST(Issue1398) { |
++actual_depth; |
} |
- CHECK_EQ(1 + i::TickSample::kMaxFramesCount, actual_depth); // +1 for PC. |
+ CHECK_EQ(1 + v8::TickSample::kMaxFramesCount, actual_depth); // +1 for PC. |
} |
TEST(DeleteAllCpuProfiles) { |