Index: runtime/vm/timeline_android.cc |
diff --git a/runtime/vm/timeline_android.cc b/runtime/vm/timeline_android.cc |
index 525d2a6b89ceaa2c9fd9dc61d4722d1179a36f52..ebd82e9daf266a8af7d358f22b387bbd1bd6e422 100644 |
--- a/runtime/vm/timeline_android.cc |
+++ b/runtime/vm/timeline_android.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; |