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

Unified Diff: ios/web/net/cert_verifier_block_adapter.cc

Issue 1586833002: Convert Pass()→std::move() for iOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert accidental //base change Created 4 years, 11 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/navigation/navigation_manager_impl.mm ('k') | ios/web/public/web_controller_factory.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/net/cert_verifier_block_adapter.cc
diff --git a/ios/web/net/cert_verifier_block_adapter.cc b/ios/web/net/cert_verifier_block_adapter.cc
index 932604bd8e09d1ce2eac8613fa3fa2869a095b86..dd3a83605b727c6dc262d20c7cba77cf6dca99a5 100644
--- a/ios/web/net/cert_verifier_block_adapter.cc
+++ b/ios/web/net/cert_verifier_block_adapter.cc
@@ -4,6 +4,8 @@
#include "ios/web/net/cert_verifier_block_adapter.h"
+#include <utility>
+
#include "base/mac/bind_objc_block.h"
#include "net/base/net_errors.h"
#include "net/cert/crl_set.h"
@@ -94,7 +96,7 @@ void CertVerifierBlockAdapter::Verify(
// However, it guarantees that |callback| - and thus |completion_handler| -
// will always be called, which is a necessary part of the API contract of
// |CertVerifierBlockAdapter::Verify()|.
- context->request = request.Pass();
+ context->request = std::move(request);
// Completion handler will be called from |callback| when verification
// request is completed.
return;
« no previous file with comments | « ios/web/navigation/navigation_manager_impl.mm ('k') | ios/web/public/web_controller_factory.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698