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

Unified Diff: ios/clean/chrome/browser/ui/ntp/ntp_home_coordinator.mm

Issue 2833513002: Replace TabModel with WebStateList in GoogleLandingController. (Closed)
Patch Set: Created 3 years, 8 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/ntp/ntp_home_coordinator.mm
diff --git a/ios/clean/chrome/browser/ui/ntp/ntp_home_coordinator.mm b/ios/clean/chrome/browser/ui/ntp/ntp_home_coordinator.mm
index 0e3ad1a0e377c2fe30b3e022e366fa8bfc21ddaf..f784e19ac0d20eec86ebb3250367a7de96c458bd 100644
--- a/ios/clean/chrome/browser/ui/ntp/ntp_home_coordinator.mm
+++ b/ios/clean/chrome/browser/ui/ntp/ntp_home_coordinator.mm
@@ -36,7 +36,7 @@
loader:self.mediator
focuser:self.mediator
webToolbarDelegate:nil
- tabModel:nil];
+ webStateList:&self.browser->web_state_list()];
self.viewController.dataSource = self.oldMediator;
[super start];
}

Powered by Google App Engine
This is Rietveld 408576698