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

Unified Diff: ios/clean/chrome/browser/ui/tab_collection/tab_collection_tab_cell.mm

Issue 2971093002: [ios] Take snapshot for tab grid. (Closed)
Patch Set: Update unit test. Created 3 years, 5 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
Index: ios/clean/chrome/browser/ui/tab_collection/tab_collection_tab_cell.mm
diff --git a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_tab_cell.mm b/ios/clean/chrome/browser/ui/tab_collection/tab_collection_tab_cell.mm
index 686b367f207913f2a26c5db75d402de20425475a..aabb798607fab612b0a4689b414e7e16426d6941 100644
--- a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_tab_cell.mm
+++ b/ios/clean/chrome/browser/ui/tab_collection/tab_collection_tab_cell.mm
@@ -64,7 +64,7 @@ const CGFloat kSelectedBorderWidth = 4.0f;
callback:^(UIImage* snapshot) {
// PLACEHOLDER: This operation will be cancellable.
if ([weakSelf.item.tabID isEqualToString:item.tabID]) {
- [weakSelf setSnapshot:snapshot];
+ weakSelf.snapshot = snapshot;
}
}];
}

Powered by Google App Engine
This is Rietveld 408576698