| Index: test/cctest/test-heap-profiler.cc
|
| diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc
|
| index fc74a35061a2d9f9577e07c5d948f5faac82ea10..e582ecd78dea68fedd1e75e930581b1840089243 100644
|
| --- a/test/cctest/test-heap-profiler.cc
|
| +++ b/test/cctest/test-heap-profiler.cc
|
| @@ -1044,9 +1044,12 @@ static TestStatsStream GetHeapStatsUpdate(
|
| v8::HeapProfiler* heap_profiler,
|
| v8::SnapshotObjectId* object_id = NULL) {
|
| TestStatsStream stream;
|
| - v8::SnapshotObjectId last_seen_id = heap_profiler->GetHeapStats(&stream);
|
| + int64_t timestamp = -1;
|
| + v8::SnapshotObjectId last_seen_id =
|
| + heap_profiler->GetHeapStats(&stream, ×tamp);
|
| if (object_id)
|
| *object_id = last_seen_id;
|
| + CHECK_NE(-1, timestamp);
|
| CHECK_EQ(1, stream.eos_signaled());
|
| return stream;
|
| }
|
|
|