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

Unified Diff: ios/chrome/browser/ui/authentication/chrome_signin_view_controller.mm

Issue 2920853006: Removes usage of signin APIs that return scoped_nsobjects. (Closed)
Patch Set: Reparent Created 3 years, 6 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/chrome/browser/ui/authentication/chrome_signin_view_controller.mm
diff --git a/ios/chrome/browser/ui/authentication/chrome_signin_view_controller.mm b/ios/chrome/browser/ui/authentication/chrome_signin_view_controller.mm
index cc10f5fcd6bd8759968941effe37dee293a9af84..6ff600bef5b6fa934f835b75161696e4c6833509 100644
--- a/ios/chrome/browser/ui/authentication/chrome_signin_view_controller.mm
+++ b/ios/chrome/browser/ui/authentication/chrome_signin_view_controller.mm
@@ -358,10 +358,10 @@ void HideButton(UIButton* button) {
- (void)openAuthenticationDialogAddIdentity {
DCHECK(!_interactionManager);
- _interactionManager =
+ _interactionManager.reset(
ios::GetChromeBrowserProvider()
->GetChromeIdentityService()
- ->NewChromeIdentityInteractionManager(_browserState, self);
+ ->CreateChromeIdentityInteractionManager(_browserState, self));
base::WeakNSObject<ChromeSigninViewController> weakSelf(self);
SigninCompletionCallback completion =
^(ChromeIdentity* identity, NSError* error) {

Powered by Google App Engine
This is Rietveld 408576698