Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2033)

Unified Diff: remoting/host/setup/me2me_native_messaging_host.cc

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 59ceadcf231ad9c407add0453832bfaee0343baa..50707350343e1a5de6c062e23a9535a2ee25c6f2 100644
--- a/remoting/host/setup/me2me_native_messaging_host.cc
+++ b/remoting/host/setup/me2me_native_messaging_host.cc
@@ -261,13 +261,13 @@ void Me2MeNativeMessagingHost::ProcessGetPinHash(
std::string host_id;
if (!message->GetString("hostId", &host_id)) {
- LOG(ERROR) << "'hostId' not found: " << message;
+ LOG(ERROR) << "'hostId' not found: " << message.get();
OnError();
return;
}
std::string pin;
if (!message->GetString("pin", &pin)) {
- LOG(ERROR) << "'pin' not found: " << message;
+ LOG(ERROR) << "'pin' not found: " << message.get();
OnError();
return;
}

Powered by Google App Engine
This is Rietveld 408576698