Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index 7a3801ce34ee5f136c84444c759c77b21521b164..a45ca6b759b78190a3d6d75dc97a6fb65cdefc6e 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -2111,8 +2111,8 @@ namespace { |
class CpuProfileEventChecker : public v8::platform::tracing::TraceWriter { |
public: |
void AppendTraceEvent(TraceObject* trace_event) override { |
- if (trace_event->name() != std::string("CpuProfile") && |
- trace_event->name() != std::string("CpuProfileChunk")) |
+ if (trace_event->name() != std::string("Profile") && |
+ trace_event->name() != std::string("ProfileChunk")) |
return; |
CHECK(!profile_id_ || trace_event->id() == profile_id_); |
CHECK_EQ(1, trace_event->num_args()); |