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

Unified Diff: ui/base/ime/chromeos/component_extension_ime_manager.cc

Issue 1557683002: Convert Pass()→std::move() in //ui (CrOS edition) (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
« no previous file with comments | « no previous file | ui/base/ime/chromeos/input_method_whitelist.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/chromeos/component_extension_ime_manager.cc
diff --git a/ui/base/ime/chromeos/component_extension_ime_manager.cc b/ui/base/ime/chromeos/component_extension_ime_manager.cc
index d630494a66181f95f0d0a1dae3adf57228faaa99..60ae074e378d5c682d1935b63fdd7bbf98a3df00 100644
--- a/ui/base/ime/chromeos/component_extension_ime_manager.cc
+++ b/ui/base/ime/chromeos/component_extension_ime_manager.cc
@@ -5,6 +5,7 @@
#include "ui/base/ime/chromeos/component_extension_ime_manager.h"
#include <stddef.h>
+#include <utility>
#include "base/command_line.h"
#include "base/logging.h"
@@ -118,7 +119,7 @@ ComponentExtensionIMEManager::~ComponentExtensionIMEManager() {
void ComponentExtensionIMEManager::Initialize(
scoped_ptr<ComponentExtensionIMEManagerDelegate> delegate) {
- delegate_ = delegate.Pass();
+ delegate_ = std::move(delegate);
std::vector<ComponentExtensionIME> ext_list = delegate_->ListIME();
for (size_t i = 0; i < ext_list.size(); ++i) {
ComponentExtensionIME& ext = ext_list[i];
« no previous file with comments | « no previous file | ui/base/ime/chromeos/input_method_whitelist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698