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

Unified Diff: chrome/browser/chromeos/extensions/input_method_api.cc

Issue 1556783002: Convert Pass()→std::move() for CrOS extension code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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/chromeos/extensions/input_method_api.cc
diff --git a/chrome/browser/chromeos/extensions/input_method_api.cc b/chrome/browser/chromeos/extensions/input_method_api.cc
index 52a54c9f766e82d82921c9c923babbfa2c3905e1..ce70b3642b55a32b673897124fcff817d1e3551c 100644
--- a/chrome/browser/chromeos/extensions/input_method_api.cc
+++ b/chrome/browser/chromeos/extensions/input_method_api.cc
@@ -5,9 +5,9 @@
#include "chrome/browser/chromeos/extensions/input_method_api.h"
#include <stddef.h>
-
#include <set>
#include <string>
+#include <utility>
#include "base/command_line.h"
#include "base/lazy_instance.h"
@@ -170,7 +170,7 @@ ExtensionFunction::ResponseAction GetEncryptSyncEnabledFunction::Run() {
return RespondNow(Error("Sync service is not ready for current profile."));
scoped_ptr<base::Value> ret(new base::FundamentalValue(
profile_sync_service->IsEncryptEverythingEnabled()));
- return RespondNow(OneArgument(ret.Pass()));
+ return RespondNow(OneArgument(std::move(ret)));
#endif
}

Powered by Google App Engine
This is Rietveld 408576698