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

Unified Diff: chrome/browser/ui/webui/settings/font_handler.cc

Issue 1550053002: Convert Pass()→std::move() in //chrome/browser/ui (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/browser/ui/webui/settings/font_handler.cc
diff --git a/chrome/browser/ui/webui/settings/font_handler.cc b/chrome/browser/ui/webui/settings/font_handler.cc
index 4aee4102be3e61b224c6f91eca61f9e6ca927d5e..ff34281ece1f804fd03098fa996b0caf5938ea43 100644
--- a/chrome/browser/ui/webui/settings/font_handler.cc
+++ b/chrome/browser/ui/webui/settings/font_handler.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/webui/settings/font_handler.h"
#include <stddef.h>
+#include <utility>
#include "base/bind_helpers.h"
#include "base/i18n/rtl.h"
@@ -80,7 +81,7 @@ void FontHandler::FontListHasLoaded(scoped_ptr<base::ListValue> list) {
// Add empty value to indicate a separator item.
option->AppendString(std::string());
}
- encoding_list.Append(option.Pass());
+ encoding_list.Append(std::move(option));
}
web_ui()->CallJavascriptFunction("Settings.setFontsData", *list,
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_handler.cc ('k') | chrome/browser/ui/webui/settings/people_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698