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

Unified Diff: ios/web/web_state/navigation_callbacks_inttest.mm

Issue 2935023002: Revert of [ObjC ARC] Converts ios/web:ios_web_inttests to ARC. (Closed)
Patch Set: Created 3 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 | « ios/web/browser_state_web_view_partition_inttest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/navigation_callbacks_inttest.mm
diff --git a/ios/web/web_state/navigation_callbacks_inttest.mm b/ios/web/web_state/navigation_callbacks_inttest.mm
index ec7867d5c4657691fd1f9a0eef85b9137e2424ca..76e3b92fcd13bf3fa8ceddd66663539b1c5f5034 100644
--- a/ios/web/web_state/navigation_callbacks_inttest.mm
+++ b/ios/web/web_state/navigation_callbacks_inttest.mm
@@ -509,8 +509,9 @@
// Load request using POST HTTP method.
web::NavigationManager::WebLoadParams params(url);
- params.post_data.reset([@"foo" dataUsingEncoding:NSUTF8StringEncoding]);
- params.extra_headers.reset(@{ @"Content-Type" : @"text/html" });
+ params.post_data.reset(
+ [[@"foo" dataUsingEncoding:NSUTF8StringEncoding] retain]);
+ params.extra_headers.reset([@{ @"Content-Type" : @"text/html" } retain]);
LoadWithParams(params);
}
« no previous file with comments | « ios/web/browser_state_web_view_partition_inttest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698