| Index: net/cert/nss_profile_filter_chromeos.cc
|
| diff --git a/net/cert/nss_profile_filter_chromeos.cc b/net/cert/nss_profile_filter_chromeos.cc
|
| index 8e4167a6e9b28aa196cbc516d028d6ba88676c24..40502e350f28352b3c5cde3e4185301ed78112df 100644
|
| --- a/net/cert/nss_profile_filter_chromeos.cc
|
| +++ b/net/cert/nss_profile_filter_chromeos.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "net/cert/nss_profile_filter_chromeos.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/strings/string_piece.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "net/cert/x509_certificate.h"
|
| @@ -71,11 +73,11 @@ void NSSProfileFilterChromeOS::Init(crypto::ScopedPK11Slot public_slot,
|
| // not release its reference, and the receiving object won't free
|
| // its copy.
|
| if (public_slot_.get() != public_slot.get())
|
| - public_slot_ = public_slot.Pass();
|
| + public_slot_ = std::move(public_slot);
|
| if (private_slot_.get() != private_slot.get())
|
| - private_slot_ = private_slot.Pass();
|
| + private_slot_ = std::move(private_slot);
|
| if (system_slot_.get() != system_slot.get())
|
| - system_slot_ = system_slot.Pass();
|
| + system_slot_ = std::move(system_slot);
|
| }
|
|
|
| bool NSSProfileFilterChromeOS::IsModuleAllowed(PK11SlotInfo* slot) const {
|
|
|