Commit 079441f2 authored by edchin's avatar edchin Committed by Commit Bot

[ios] Grid cell needs to reset before reuse

Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I808e52f47db5dbc9ddc609b123be1e10dabde996
Reviewed-on: https://chromium-review.googlesource.com/967889Reviewed-by: default avataredchin <edchin@chromium.org>
Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Commit-Queue: edchin <edchin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544083}
parent caeb6d1d
......@@ -82,6 +82,15 @@
// NO-OP to disable highlighting and only allow selection.
}
- (void)prepareForReuse {
[super prepareForReuse];
self.itemIdentifier = nil;
self.title = nil;
self.icon = nil;
self.snapshot = nil;
self.selected = NO;
}
#pragma mark - Accessibility
- (BOOL)isAccessibilityElement {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment