Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index 3af4dd220cdf43ee0146dba83bc6ab7c0ffac5e9..ddd3152dc37c6f2ac6444d82408e552dd66a2748 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -1630,14 +1630,6 @@ TEST(CollectSampleAPI) { |
v8::CpuProfile* profile = RunProfiler(env, function, NULL, 0, 0); |
const v8::CpuProfileNode* root = profile->GetTopDownRoot(); |
- { |
- ScopedVector<v8::Local<v8::String> > names(3); |
- names[0] = v8_str(ProfileGenerator::kGarbageCollectorEntryName); |
- names[1] = v8_str(ProfileGenerator::kProgramEntryName); |
- names[2] = v8_str("start"); |
- CheckChildrenNames(env, root, names); |
- } |
- |
const v8::CpuProfileNode* startNode = GetChild(env, root, "start"); |
CHECK_LE(1, startNode->GetChildrenCount()); |
GetChild(env, startNode, "CallCollectSample"); |