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

Unified Diff: ios/web/net/clients/crw_redirect_network_client.mm

Issue 2522943003: [iOS/ARC] Fix a violation of ODR in base::BindBlock under ARC. (Closed)
Patch Set: Use EXPECT_NSEQ instead of EXPECT_EQ/EXPECT_TRUE. Created 4 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/web/net/clients/crw_redirect_network_client.mm
diff --git a/ios/web/net/clients/crw_redirect_network_client.mm b/ios/web/net/clients/crw_redirect_network_client.mm
index 5f86de3813b80f8af81fab7310c63735a86be4f0..384b5562ee963c6976caaef6bae51504525c0c5b 100644
--- a/ios/web/net/clients/crw_redirect_network_client.mm
+++ b/ios/web/net/clients/crw_redirect_network_client.mm
@@ -38,7 +38,7 @@
nativeRequest:(net::URLRequest*)nativeRequest
redirectResponse:(NSURLResponse*)redirectResponse {
DCHECK_CURRENTLY_ON(web::WebThread::IO);
- web::WebThread::PostTask(web::WebThread::UI, FROM_HERE, base::BindBlock(^{
+ web::WebThread::PostTask(web::WebThread::UI, FROM_HERE, base::BindBlockArc(^{
[_delegate
wasRedirectedToRequest:request
redirectResponse:redirectResponse];
« no previous file with comments | « ios/chrome/browser/ssl/ios_ssl_error_handler_unittest.mm ('k') | ios/web/net/crw_cert_verification_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698