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