Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm

Issue 2631233002: Fix the order in which the iOS Tab Switcher cells are initialized. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm
diff --git a/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm b/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm
index 1bd0b37542d00c85ac81ed7c85cf73c081e4c8f1..45419ed4764a99d3ef2a3bb09f1c435545629830 100644
--- a/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm
+++ b/ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.mm
@@ -230,6 +230,7 @@ CGFloat tabSwitcherLocalSessionCellTopBarHeight() {
CGSize snapshotSize = cellSize;
snapshotSize.height -= tabSwitcherLocalSessionCellTopBarHeight();
base::WeakNSObject<TabSwitcherLocalSessionCell> weakCell(self);
+ DCHECK([self cache]);
lpromero 2017/01/16 18:03:21 Can you add a comment in the header for setAppeara
_currentPendingSnapshotRequest =
[[self cache] requestSnapshotForTab:tab
withSize:snapshotSize
« no previous file with comments | « no previous file | ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698