| Index: ios/chrome/browser/ui/first_run/first_run_util.mm
|
| diff --git a/ios/chrome/browser/ui/first_run/first_run_util.mm b/ios/chrome/browser/ui/first_run/first_run_util.mm
|
| index 7fa7cfc1d43baaaf0de483775df681428fd56d12..766b2a287190a5f0e3a095f787a244a8e55fc2f4 100644
|
| --- a/ios/chrome/browser/ui/first_run/first_run_util.mm
|
| +++ b/ios/chrome/browser/ui/first_run/first_run_util.mm
|
| @@ -24,6 +24,10 @@
|
| #include "ios/web/public/web_thread.h"
|
| #import "ui/gfx/ios/NSString+CrStringDrawing.h"
|
|
|
| +#if !defined(__has_feature) || !__has_feature(objc_arc)
|
| +#error "This file requires ARC support."
|
| +#endif
|
| +
|
| NSString* const kChromeFirstRunUIWillFinishNotification =
|
| @"kChromeFirstRunUIWillFinishNotification";
|
|
|
| @@ -66,7 +70,7 @@ NSString* InsertNewlineBeforeNthToLastWord(NSString* text, int index) {
|
| count++;
|
| *stop = count == index;
|
| }];
|
| - NSMutableString* textWithNewline = [[text mutableCopy] autorelease];
|
| + NSMutableString* textWithNewline = [text mutableCopy];
|
| [textWithNewline insertString:@"\n" atIndex:range.location];
|
| return textWithNewline;
|
| }
|
|
|