Index: net/ssl/channel_id_store.cc |
diff --git a/net/ssl/channel_id_store.cc b/net/ssl/channel_id_store.cc |
index e1835ff1546a645d22ef3226a6e099b8800ad57a..1345da13cbb0a9311325b1feab6a81ef72910ab2 100644 |
--- a/net/ssl/channel_id_store.cc |
+++ b/net/ssl/channel_id_store.cc |
@@ -2,9 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "crypto/ec_private_key.h" |
#include "net/ssl/channel_id_store.h" |
+#include <utility> |
+ |
+#include "crypto/ec_private_key.h" |
+ |
namespace net { |
ChannelIDStore::ChannelID::ChannelID() { |
@@ -15,8 +18,7 @@ ChannelIDStore::ChannelID::ChannelID(const std::string& server_identifier, |
scoped_ptr<crypto::ECPrivateKey> key) |
: server_identifier_(server_identifier), |
creation_time_(creation_time), |
- key_(key.Pass()) { |
-} |
+ key_(std::move(key)) {} |
ChannelIDStore::ChannelID::ChannelID(const ChannelID& other) |
: server_identifier_(other.server_identifier_), |