Commit e4f8a440 authored by edchin's avatar edchin Committed by Commit bot

[tab_grid] Remove unnecessary code

Remove unnecessary collection view -reloadData call in -viewWillAppear.

BUG=686770

Review-Url: https://codereview.chromium.org/2714363002
Cr-Commit-Position: refs/heads/master@{#453254}
parent 6dfec867
...@@ -85,7 +85,6 @@ const CGFloat kToolbarHeight = 64.0f; ...@@ -85,7 +85,6 @@ const CGFloat kToolbarHeight = 64.0f;
} }
- (void)viewWillAppear:(BOOL)animated { - (void)viewWillAppear:(BOOL)animated {
[self.grid reloadData];
self.floatingNewTabButton = [MDCFloatingButton cr_tabGridNewTabButton]; self.floatingNewTabButton = [MDCFloatingButton cr_tabGridNewTabButton];
[self.floatingNewTabButton [self.floatingNewTabButton
setFrame:[MDCFloatingButton setFrame:[MDCFloatingButton
......
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