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

Unified Diff: ios/chrome/browser/passwords/password_generation_prompt_view.mm

Issue 2942003002: [ios] Fix "return foo = nil" introduced by ARC conversion tools. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | ios/chrome/browser/ui/authentication/signin_account_selector_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/passwords/password_generation_prompt_view.mm
diff --git a/ios/chrome/browser/passwords/password_generation_prompt_view.mm b/ios/chrome/browser/passwords/password_generation_prompt_view.mm
index 9fdedc377f4fe12831336656fffc6a444cc9bbbb..91ef7af0454697f3c2d5ff7f5816658d82092cc0 100644
--- a/ios/chrome/browser/passwords/password_generation_prompt_view.mm
+++ b/ios/chrome/browser/passwords/password_generation_prompt_view.mm
@@ -200,7 +200,7 @@ const CGFloat kDescriptionLabelTopPadding = 10.0f;
[titleLabel setAttributedText:string];
[titleLabel setNumberOfLines:0];
[titleLabel sizeToFit];
- return titleLabel = nil;
+ return titleLabel;
}
- (UILabel*)passwordLabel:(NSString*)password {
@@ -211,7 +211,7 @@ const CGFloat kDescriptionLabelTopPadding = 10.0f;
regularFontOfSize:kPasswordLabelFontSize]];
[passwordLabel setNumberOfLines:1];
[passwordLabel sizeToFit];
- return passwordLabel = nil;
+ return passwordLabel;
}
- (UITextView*)description {
« no previous file with comments | « no previous file | ios/chrome/browser/ui/authentication/signin_account_selector_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698