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

Unified Diff: remoting/host/native_messaging/log_message_handler.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 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/log_message_handler.cc
diff --git a/remoting/host/native_messaging/log_message_handler.cc b/remoting/host/native_messaging/log_message_handler.cc
index d301cc3f4a8a4c065a717cd3b51ceb738eaa8df4..0625d44a6729d9d8f8be241c25c079a1fdce5945 100644
--- a/remoting/host/native_messaging/log_message_handler.cc
+++ b/remoting/host/native_messaging/log_message_handler.cc
@@ -117,7 +117,7 @@ void LogMessageHandler::SendLogMessageToClient(
std::string message = str.substr(message_start);
base::TrimWhitespaceASCII(message, base::TRIM_ALL, &message);
- scoped_ptr<base::DictionaryValue> dictionary(new base::DictionaryValue);
+ std::unique_ptr<base::DictionaryValue> dictionary(new base::DictionaryValue);
dictionary->SetString("type", kDebugMessageTypeName);
dictionary->SetString("severity", severity_string);
dictionary->SetString("message", message);
« no previous file with comments | « remoting/host/native_messaging/log_message_handler.h ('k') | remoting/host/native_messaging/native_messaging_pipe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698