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

Unified Diff: net/cert/cert_policy_enforcer.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/base/sdch_net_log_params.cc ('k') | net/cert/cert_verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/cert_policy_enforcer.cc
diff --git a/net/cert/cert_policy_enforcer.cc b/net/cert/cert_policy_enforcer.cc
index 5d3b02a91b6f91d03cb34fb9808554da291425ad..8e4ba8d8b2eb38e8fb1d998b2753a580352b4f1c 100644
--- a/net/cert/cert_policy_enforcer.cc
+++ b/net/cert/cert_policy_enforcer.cc
@@ -5,6 +5,7 @@
#include "net/cert/cert_policy_enforcer.h"
#include <algorithm>
+#include <utility>
#include "base/bind.h"
#include "base/build_time.h"
@@ -223,7 +224,7 @@ scoped_ptr<base::Value> NetLogComplianceCheckResultCallback(
details->whitelist_version.GetString());
}
}
- return dict.Pass();
+ return std::move(dict);
}
// Returns true if all SCTs in |verified_scts| were issued on, or after, the
« no previous file with comments | « net/base/sdch_net_log_params.cc ('k') | net/cert/cert_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698