Index: components/ownership/owner_key_util.cc |
diff --git a/components/ownership/owner_key_util.cc b/components/ownership/owner_key_util.cc |
index a0497291c916db3e48ecbf0aaec6d241ec233f75..55b5fd42a9dfb23fc9e380827a138e7f938f5559 100644 |
--- a/components/ownership/owner_key_util.cc |
+++ b/components/ownership/owner_key_util.cc |
@@ -4,6 +4,8 @@ |
#include "components/ownership/owner_key_util.h" |
+#include <utility> |
+ |
namespace ownership { |
/////////////////////////////////////////////////////////////////////////// |
@@ -18,8 +20,8 @@ PublicKey::~PublicKey() { |
/////////////////////////////////////////////////////////////////////////// |
// PrivateKey |
-PrivateKey::PrivateKey(crypto::ScopedSECKEYPrivateKey key) : key_(key.Pass()) { |
-} |
+PrivateKey::PrivateKey(crypto::ScopedSECKEYPrivateKey key) |
+ : key_(std::move(key)) {} |
PrivateKey::~PrivateKey() { |
} |