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

Unified Diff: ios/web/web_state/crw_pass_kit_downloader.mm

Issue 2375023006: [ARC] Converts part of ios/web/public to ARC. (Closed)
Patch Set: Created 4 years, 3 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 | « ios/web/web_state/context_menu_params.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/crw_pass_kit_downloader.mm
diff --git a/ios/web/web_state/crw_pass_kit_downloader.mm b/ios/web/web_state/crw_pass_kit_downloader.mm
index 15b601241afc39915fdd6ca037d0141c237923bf..0bc4a4af317fdb5a8469203279f708b0bd20f70d 100644
--- a/ios/web/web_state/crw_pass_kit_downloader.mm
+++ b/ios/web/web_state/crw_pass_kit_downloader.mm
@@ -17,6 +17,10 @@
#include "net/url_request/url_fetcher_delegate.h"
#include "net/url_request/url_request_context_getter.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
using net::URLFetcher;
using net::URLFetcherDelegate;
using net::URLRequestContextGetter;
@@ -124,7 +128,6 @@ class PassKitFetcherDelegate : public URLFetcherDelegate {
- (void)dealloc {
[[CRWNetworkActivityIndicatorManager sharedInstance]
clearNetworkTasksForGroup:[self networkActivityKey]];
- [super dealloc];
}
- (BOOL)isMIMETypePassKitType:(NSString*)MIMEType {
« no previous file with comments | « ios/web/web_state/context_menu_params.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698