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

Unified Diff: ios/chrome/app/application_delegate/url_opener.mm

Issue 2621943002: [ObjC ARC] Converts ios/chrome/app/application_delegate:application_delegate_internal to ARC. (Closed)
Patch Set: add dependency on ios/chrome/common/app_group:main_app Created 3 years, 11 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/app/application_delegate/url_opener.mm
diff --git a/ios/chrome/app/application_delegate/url_opener.mm b/ios/chrome/app/application_delegate/url_opener.mm
index 718d4702722b1e85ec0608bec93c45c07a9046e7..9bd82aa7cd95266c1fcdb938ac49a6dad4b8dbac 100644
--- a/ios/chrome/app/application_delegate/url_opener.mm
+++ b/ios/chrome/app/application_delegate/url_opener.mm
@@ -6,8 +6,6 @@
#import <Foundation/Foundation.h>
-#import "base/ios/weak_nsobject.h"
-#import "base/mac/scoped_nsobject.h"
#include "base/metrics/histogram_macros.h"
#import "ios/chrome/app/application_delegate/app_state.h"
#import "ios/chrome/app/application_delegate/startup_information.h"
@@ -36,10 +34,9 @@ const char* const kUMAMobileSessionStartFromAppsHistogram =
startupInformation:(id<StartupInformation>)startupInformation {
NSString* sourceApplication =
options[UIApplicationOpenURLOptionsSourceApplicationKey];
- base::scoped_nsobject<ChromeAppStartupParameters> params(
- [ChromeAppStartupParameters
- newChromeAppStartupParametersWithURL:url
- fromSourceApplication:sourceApplication]);
+ ChromeAppStartupParameters* params = [ChromeAppStartupParameters
+ newChromeAppStartupParametersWithURL:url
+ fromSourceApplication:sourceApplication];
MobileSessionCallerApp callerApp = [params callerApp];

Powered by Google App Engine
This is Rietveld 408576698