Index: runtime/vm/timeline_fuchsia.cc |
diff --git a/runtime/vm/timeline_fuchsia.cc b/runtime/vm/timeline_fuchsia.cc |
index 23ce85f79a27ba43b6becd07dfdbce83de239477..0c37b087877e31b9f510c2f2ac59ee113d1a427a 100644 |
--- a/runtime/vm/timeline_fuchsia.cc |
+++ b/runtime/vm/timeline_fuchsia.cc |
@@ -37,7 +37,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; |