Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index 86cd8b1e3e07395142da70809b66874a6ecd8fce..767c5cd4b4670d3231400ca268c5261eef401809 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -705,6 +705,7 @@ |
CcTest::heap()->CollectAllGarbage(); |
const v8::HeapSnapshot* snapshot2 = heap_profiler->TakeHeapSnapshot(); |
+ CHECK(ValidateSnapshot(snapshot2)); |
const v8::HeapGraphNode* global2 = GetGlobalObject(snapshot2); |
const v8::HeapGraphNode* array_node = |