| Index: net/cert/nss_cert_database.cc
|
| diff --git a/net/cert/nss_cert_database.cc b/net/cert/nss_cert_database.cc
|
| index 3d374338ffc4d78a3fe36d534c2cb4b90051e773..53ea7c79fc5b8378323431d34b8e850e8fc673ae 100644
|
| --- a/net/cert/nss_cert_database.cc
|
| +++ b/net/cert/nss_cert_database.cc
|
| @@ -9,6 +9,7 @@
|
| #include <keyhi.h>
|
| #include <pk11pub.h>
|
| #include <secmod.h>
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| @@ -81,8 +82,8 @@ NSSCertDatabase::ImportCertFailure::~ImportCertFailure() {}
|
|
|
| NSSCertDatabase::NSSCertDatabase(crypto::ScopedPK11Slot public_slot,
|
| crypto::ScopedPK11Slot private_slot)
|
| - : public_slot_(public_slot.Pass()),
|
| - private_slot_(private_slot.Pass()),
|
| + : public_slot_(std::move(public_slot)),
|
| + private_slot_(std::move(private_slot)),
|
| observer_list_(new base::ObserverListThreadSafe<Observer>),
|
| weak_factory_(this) {
|
| CHECK(public_slot_);
|
|
|