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

Unified Diff: ios/clean/chrome/browser/ui/settings/settings_coordinator.mm

Issue 2735973003: Make BrowserCoordinator use a Browser instead of a BrowserState (Closed)
Patch Set: Remove unused import Created 3 years, 9 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 | « ios/clean/chrome/browser/ui/settings/BUILD.gn ('k') | ios/clean/chrome/browser/ui/tab_grid/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/ui/settings/settings_coordinator.mm
diff --git a/ios/clean/chrome/browser/ui/settings/settings_coordinator.mm b/ios/clean/chrome/browser/ui/settings/settings_coordinator.mm
index 5edbd3b13badd2328194ade85afd8bf54ac7aab5..536bebce76998e91faa919d4ea2d4882132e90af 100644
--- a/ios/clean/chrome/browser/ui/settings/settings_coordinator.mm
+++ b/ios/clean/chrome/browser/ui/settings/settings_coordinator.mm
@@ -10,6 +10,7 @@
#import "ios/chrome/browser/ui/settings/settings_navigation_controller.h"
#import "ios/clean/chrome/browser/browser_coordinator+internal.h"
+#import "ios/clean/chrome/browser/model/browser.h"
#import "ios/clean/chrome/browser/ui/commands/settings_commands.h"
#import "ios/shared/chrome/browser/coordinator_context/coordinator_context.h"
@@ -29,8 +30,10 @@
- (void)start {
self.viewController = [SettingsNavigationController
- newSettingsMainControllerWithMainBrowserState:self.browserState
- currentBrowserState:self.browserState
+ newSettingsMainControllerWithMainBrowserState:self.browser
+ ->browser_state()
+ currentBrowserState:self.browser
+ ->browser_state()
delegate:self];
[self.context.baseViewController presentViewController:self.viewController
animated:self.context.animated
« no previous file with comments | « ios/clean/chrome/browser/ui/settings/BUILD.gn ('k') | ios/clean/chrome/browser/ui/tab_grid/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698