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

Unified Diff: components/cronet/ios/Cronet.mm

Issue 2829703002: Prototype of HttpProtocolHandler perf test with ARC.
Patch Set: Created 3 years, 8 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 | « components/cronet/ios/BUILD.gn ('k') | components/cronet/ios/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/Cronet.mm
diff --git a/components/cronet/ios/Cronet.mm b/components/cronet/ios/Cronet.mm
index b883049b52d3fefab00ba5ac7b4ec128cc676e90..be00e46c8c80a3a5b0df9a603aa33552bf60085d 100644
--- a/components/cronet/ios/Cronet.mm
+++ b/components/cronet/ios/Cronet.mm
@@ -68,11 +68,11 @@ class CronetHttpProtocolHandlerDelegate
public:
CronetHttpProtocolHandlerDelegate(net::URLRequestContextGetter* getter,
RequestFilterBlock filter)
- : getter_(getter), filter_(filter, base::scoped_policy::RETAIN) {}
+ : getter_(getter), filter_(filter) {}
void SetRequestFilterBlock(RequestFilterBlock filter) {
base::AutoLock auto_lock(lock_);
- filter_.reset(filter, base::scoped_policy::RETAIN);
+ filter_.reset(filter);
}
private:
« no previous file with comments | « components/cronet/ios/BUILD.gn ('k') | components/cronet/ios/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698