| Index: ios/web/net/clients/crw_js_injection_network_client_factory.mm
|
| diff --git a/ios/web/net/clients/crw_js_injection_network_client_factory.mm b/ios/web/net/clients/crw_js_injection_network_client_factory.mm
|
| index 7ca315351ac44fecb1266419892ab2e163a50022..f10114fa6cdb164d141a5e8f14af4ab720455da3 100644
|
| --- a/ios/web/net/clients/crw_js_injection_network_client_factory.mm
|
| +++ b/ios/web/net/clients/crw_js_injection_network_client_factory.mm
|
| @@ -8,6 +8,10 @@
|
| #include "ios/web/net/clients/crw_js_injection_network_client.h"
|
| #include "net/url_request/url_request.h"
|
|
|
| +#if !defined(__has_feature) || !__has_feature(objc_arc)
|
| +#error "This file requires ARC support."
|
| +#endif
|
| +
|
| @implementation CRWJSInjectionNetworkClientFactory
|
|
|
| - (CRWJSInjectionNetworkClient*)
|
| @@ -29,7 +33,7 @@
|
| static_cast<int>(web::InjectionResult::INJECTION_RESULT_COUNT));
|
| return nil;
|
| }
|
| - return [[[CRWJSInjectionNetworkClient alloc] init] autorelease];
|
| + return [[CRWJSInjectionNetworkClient alloc] init];
|
| }
|
| return nil;
|
| }
|
|
|