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

Unified Diff: content/browser/font_list_async.cc

Issue 1545243002: Convert Pass()→std::move() in //content/browser (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: content/browser/font_list_async.cc
diff --git a/content/browser/font_list_async.cc b/content/browser/font_list_async.cc
index 422531947a4fd37b0fe4f9bec1f5c23775616e4f..730f6731c509c904101b9662865f30efc0e65bdd 100644
--- a/content/browser/font_list_async.cc
+++ b/content/browser/font_list_async.cc
@@ -4,6 +4,8 @@
#include "content/public/browser/font_list_async.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/values.h"
#include "content/common/font_list.h"
@@ -17,7 +19,7 @@ namespace {
void ReturnFontListToOriginalThread(
const base::Callback<void(scoped_ptr<base::ListValue>)>& callback,
scoped_ptr<base::ListValue> result) {
- callback.Run(result.Pass());
+ callback.Run(std::move(result));
}
void GetFontListInBlockingPool(
« no previous file with comments | « content/browser/fileapi/obfuscated_file_util_unittest.cc ('k') | content/browser/frame_host/frame_mojo_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698