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

Unified Diff: net/cert_net/cert_net_fetcher_impl_unittest.cc

Issue 1545233002: Convert Pass()→std::move() in //net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « net/cert_net/cert_net_fetcher_impl.cc ('k') | net/cert_net/nss_ocsp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert_net/cert_net_fetcher_impl_unittest.cc
diff --git a/net/cert_net/cert_net_fetcher_impl_unittest.cc b/net/cert_net/cert_net_fetcher_impl_unittest.cc
index 7f5e54aef0c2e39fe80af8f3f18c4f3afea20d7d..311e93aee016ec7e5e82781f9d82db0d32c1810f 100644
--- a/net/cert_net/cert_net_fetcher_impl_unittest.cc
+++ b/net/cert_net/cert_net_fetcher_impl_unittest.cc
@@ -5,6 +5,7 @@
#include "net/cert_net/cert_net_fetcher_impl.h"
#include <string>
+#include <utility>
#include "base/compiler_specific.h"
#include "base/run_loop.h"
@@ -102,7 +103,7 @@ class TestFetchCallback {
run_loop.Run();
quit_closure_.Reset();
}
- return result_.Pass();
+ return std::move(result_);
}
bool HasResult() const { return result_.get(); }
« no previous file with comments | « net/cert_net/cert_net_fetcher_impl.cc ('k') | net/cert_net/nss_ocsp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698