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

Unified Diff: chrome/common/cloud_print/cloud_print_helpers.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (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: chrome/common/cloud_print/cloud_print_helpers.cc
diff --git a/chrome/common/cloud_print/cloud_print_helpers.cc b/chrome/common/cloud_print/cloud_print_helpers.cc
index e11376c8896e058d4d553c9744f72f8588200401..406c54b33f2cc86ac1aea5c235806a5b329a39d4 100644
--- a/chrome/common/cloud_print/cloud_print_helpers.cc
+++ b/chrome/common/cloud_print/cloud_print_helpers.cc
@@ -200,7 +200,7 @@ scoped_ptr<base::DictionaryValue> ParseResponseJSON(
if (succeeded &&
!response_dict->GetBoolean(kSuccessValue, succeeded))
*succeeded = false;
- return response_dict.Pass();
+ return response_dict;
}
std::string GetMultipartMimeType(const std::string& mime_boundary) {

Powered by Google App Engine
This is Rietveld 408576698