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

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

Issue 1549493004: Use std::move() instead of .Pass() in remoting/host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass
Patch Set: include <utility> Created 5 years 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
« no previous file with comments | « remoting/host/mouse_shape_pump_unittest.cc ('k') | remoting/host/native_messaging/native_messaging_pipe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4f8293347d9483796499f60c28a335520850ae02..d301cc3f4a8a4c065a717cd3b51ceb738eaa8df4 100644
--- a/remoting/host/native_messaging/log_message_handler.cc
+++ b/remoting/host/native_messaging/log_message_handler.cc
@@ -124,7 +124,7 @@ void LogMessageHandler::SendLogMessageToClient(
dictionary->SetString("file", file);
dictionary->SetInteger("line", line);
- delegate_.Run(dictionary.Pass());
+ delegate_.Run(std::move(dictionary));
suppress_logging_ = false;
}
« no previous file with comments | « remoting/host/mouse_shape_pump_unittest.cc ('k') | remoting/host/native_messaging/native_messaging_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698