Index: runtime/vm/timeline_linux.cc |
diff --git a/runtime/vm/timeline_linux.cc b/runtime/vm/timeline_linux.cc |
index dde0191a1fcf1bdab7205e9b80acc772e5993e4c..8525033799d0f9d3d20924075a29c1d31c278854 100644 |
--- a/runtime/vm/timeline_linux.cc |
+++ b/runtime/vm/timeline_linux.cc |
@@ -110,7 +110,7 @@ TimelineEventBlock* TimelineEventPlatformRecorder::GetNewBlockLocked() { |
if (block_cursor_ == num_blocks_) { |
block_cursor_ = 0; |
} |
- TimelineEventBlock* block = blocks_[block_cursor_++]; |
+ TimelineEventBlock* block = &blocks_[block_cursor_++]; |
block->Reset(); |
block->Open(); |
return block; |