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

Unified Diff: src/common/mac/HTTPMultipartUpload.m

Issue 1171693007: Use local variable for out parameter rather than direct use of ivar (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Created 5 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/common/mac/HTTPMultipartUpload.m
===================================================================
--- src/common/mac/HTTPMultipartUpload.m (revision 1458)
+++ src/common/mac/HTTPMultipartUpload.m (working copy)
@@ -195,10 +195,11 @@
if ([[req URL] isFileURL]) {
[[req HTTPBody] writeToURL:[req URL] options:0 error:error];
} else {
+ NSURLResponse *response = nil;
data = [NSURLConnection sendSynchronousRequest:req
- returningResponse:&response_
+ returningResponse:&response
error:error];
- [response_ retain];
+ response_ = (NSHTTPURLResponse *)[response retain];
}
[req release];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698