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

Unified Diff: ios/net/crn_http_protocol_handler.mm

Issue 1424713006: ios: Stop using __weak. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/net/crn_http_protocol_handler.mm
diff --git a/ios/net/crn_http_protocol_handler.mm b/ios/net/crn_http_protocol_handler.mm
index e5479ceff2fb122bcbac0473c046f07620d7fb9c..ba7ca57d87cfbeb476021f16356e73516eec6450 100644
--- a/ios/net/crn_http_protocol_handler.mm
+++ b/ios/net/crn_http_protocol_handler.mm
@@ -55,7 +55,7 @@ void DoNothing(bool flag) {}
@interface CRWHTTPStreamDelegate : NSObject<NSStreamDelegate> {
@private
// The object is owned by |_core| and has a weak reference to it.
- __weak net::HttpProtocolHandlerCore* _core;
+ net::HttpProtocolHandlerCore* _core; // weak
}
- (instancetype)initWithHttpProtocolHandlerCore:
(net::HttpProtocolHandlerCore*)core;

Powered by Google App Engine
This is Rietveld 408576698