| Index: remoting/host/setup/me2me_native_messaging_host.cc
|
| diff --git a/remoting/host/setup/me2me_native_messaging_host.cc b/remoting/host/setup/me2me_native_messaging_host.cc
|
| index 7ceea6b9266532863718f9e618de7b3a2b50c99a..51b77ef574887820a5e37c5b60d58763940dfd51 100644
|
| --- a/remoting/host/setup/me2me_native_messaging_host.cc
|
| +++ b/remoting/host/setup/me2me_native_messaging_host.cc
|
| @@ -182,7 +182,7 @@ void Me2MeNativeMessagingHost::ProcessClearPairedClients(
|
| return;
|
| }
|
|
|
| - if (pairing_registry_) {
|
| + if (pairing_registry_.get()) {
|
| pairing_registry_->ClearAllPairings(
|
| base::Bind(&Me2MeNativeMessagingHost::SendBooleanResult, weak_ptr_,
|
| base::Passed(&response)));
|
| @@ -211,7 +211,7 @@ void Me2MeNativeMessagingHost::ProcessDeletePairedClient(
|
| return;
|
| }
|
|
|
| - if (pairing_registry_) {
|
| + if (pairing_registry_.get()) {
|
| pairing_registry_->DeletePairing(
|
| client_id, base::Bind(&Me2MeNativeMessagingHost::SendBooleanResult,
|
| weak_ptr_, base::Passed(&response)));
|
| @@ -294,7 +294,7 @@ void Me2MeNativeMessagingHost::ProcessGetPairedClients(
|
| scoped_ptr<base::DictionaryValue> response) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
|
|
| - if (pairing_registry_) {
|
| + if (pairing_registry_.get()) {
|
| pairing_registry_->GetAllPairings(
|
| base::Bind(&Me2MeNativeMessagingHost::SendPairedClientsResponse,
|
| weak_ptr_, base::Passed(&response)));
|
|
|