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

Unified Diff: content/public/common/message_port_types.cc

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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
« no previous file with comments | « content/public/common/message_port_types.h ('k') | content/public/common/sandbox_init.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/message_port_types.cc
diff --git a/content/public/common/message_port_types.cc b/content/public/common/message_port_types.cc
index bc69ff0eb77ff70434cc5e2d54612ac25df85baf..faf033df7a368b56b47d150d825fce776d50157f 100644
--- a/content/public/common/message_port_types.cc
+++ b/content/public/common/message_port_types.cc
@@ -15,7 +15,7 @@ MessagePortMessage::MessagePortMessage(const base::string16& message)
: message_as_string(message) {
}
-MessagePortMessage::MessagePortMessage(scoped_ptr<base::Value> message) {
+MessagePortMessage::MessagePortMessage(std::unique_ptr<base::Value> message) {
message_as_value.Append(message.release());
}
« no previous file with comments | « content/public/common/message_port_types.h ('k') | content/public/common/sandbox_init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698