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 { |