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

Unified Diff: remoting/host/native_messaging/native_messaging_reader.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/native_messaging/native_messaging_reader.cc
diff --git a/remoting/host/native_messaging/native_messaging_reader.cc b/remoting/host/native_messaging/native_messaging_reader.cc
index ffb553e909c0aa2cbb577b436d820a1090dd00d8..f5cbb87fba3db8cb44fc16f04068024a195d1eff 100644
--- a/remoting/host/native_messaging/native_messaging_reader.cc
+++ b/remoting/host/native_messaging/native_messaging_reader.cc
@@ -115,7 +115,7 @@ void NativeMessagingReader::Core::ReadMessage() {
scoped_ptr<base::Value> message = base::JSONReader::Read(message_json);
if (!message) {
- LOG(ERROR) << "Failed to parse JSON message: " << message;
+ LOG(ERROR) << "Failed to parse JSON message: " << message.get();
NotifyEof();
return;
}

Powered by Google App Engine
This is Rietveld 408576698