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

Unified Diff: ios/chrome/browser/tabs/tab.mm

Issue 2664993003: Converts ios/chrome/browser/native_app_launcher:native_app_launcher_internal to ARC. (Closed)
Patch Set: feedback 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/browser/tabs/tab.mm
diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
index 36ff77d9cea55717e0d69db7d33c17b0e45a309a..670c8cc58fe1884f96d3ad74b43d980c0c02b260 100644
--- a/ios/chrome/browser/tabs/tab.mm
+++ b/ios/chrome/browser/tabs/tab.mm
@@ -1847,8 +1847,8 @@ void TabInfoBarObserver::OnInfoBarReplaced(infobars::InfoBar* old_infobar,
return NO;
base::scoped_nsprotocol<id<NativeAppMetadata>> metadata(
- [ios::GetChromeBrowserProvider()->GetNativeAppWhitelistManager()
- newNativeAppForURL:url]);
+ [[ios::GetChromeBrowserProvider()->GetNativeAppWhitelistManager()
+ nativeAppForURL:url] retain]);
if (![metadata shouldAutoOpenLinks])
return NO;

Powered by Google App Engine
This is Rietveld 408576698