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

Unified Diff: mojo/converters/network/network_type_converters.cc

Issue 1538823002: Convert Pass()→std::move() in mojo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: mojo/converters/network/network_type_converters.cc
diff --git a/mojo/converters/network/network_type_converters.cc b/mojo/converters/network/network_type_converters.cc
index 94109da05f7c6ab60d72f1f8e68a68345df92934..1453c5002146940841585b29bb2d72dea7cfdaad 100644
--- a/mojo/converters/network/network_type_converters.cc
+++ b/mojo/converters/network/network_type_converters.cc
@@ -11,7 +11,7 @@ URLRequestPtr TypeConverter<URLRequestPtr, std::string>::Convert(
const std::string& input) {
URLRequestPtr result(URLRequest::New());
result->url = input;
- return result.Pass();
+ return result;
}
} // namespace mojo
« no previous file with comments | « mojo/converters/input_events/input_events_type_converters.cc ('k') | mojo/converters/surfaces/surfaces_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698