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

Unified Diff: chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc

Issue 1558513002: Global conversion of Pass()→std::move() on OS=linux (GYP edition) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatted 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 | « chrome/browser/extensions/api/input_ime/input_ime_api.cc ('k') | chrome/test/nacl/pnacl_header_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc
diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc b/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc
index ed82a02c1907dca7a2afcb809cdd0a40f4bf5a76..34dc1457781e56c35e666e8e9a48637ff74e5fdd 100644
--- a/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc
+++ b/chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc
@@ -10,6 +10,8 @@
#include "chrome/browser/extensions/api/input_ime/input_ime_api.h"
+#include <utility>
+
#include "base/command_line.h"
#include "base/macros.h"
#include "chrome/common/chrome_switches.h"
@@ -39,10 +41,10 @@ class ImeObserverNonChromeOS : public ui::ImeObserver {
}
scoped_ptr<extensions::Event> event(
- new extensions::Event(histogram_value, event_name, args.Pass()));
+ new extensions::Event(histogram_value, event_name, std::move(args)));
event->restrict_to_browser_context = profile_;
extensions::EventRouter::Get(profile_)
- ->DispatchEventToExtension(extension_id_, event.Pass());
+ ->DispatchEventToExtension(extension_id_, std::move(event));
}
DISALLOW_COPY_AND_ASSIGN(ImeObserverNonChromeOS);
« no previous file with comments | « chrome/browser/extensions/api/input_ime/input_ime_api.cc ('k') | chrome/test/nacl/pnacl_header_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698