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

Unified Diff: chrome/browser/extensions/external_pref_loader.cc

Issue 1549233002: Convert Pass()→std::move() in //chrome/browser/extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/extensions/external_pref_loader.cc
diff --git a/chrome/browser/extensions/external_pref_loader.cc b/chrome/browser/extensions/external_pref_loader.cc
index be5f52e182df35d0d17a2fe8dff560e427036b2e..1cd9e1177dbfe0c9c18a27e816dd96a215dd0c96 100644
--- a/chrome/browser/extensions/external_pref_loader.cc
+++ b/chrome/browser/extensions/external_pref_loader.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/extensions/external_pref_loader.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/files/file_enumerator.h"
#include "base/files/file_path.h"
@@ -86,7 +88,7 @@ scoped_ptr<base::DictionaryValue> ExtractExtensionPrefs(
}
scoped_ptr<base::DictionaryValue> ext_dictionary =
- base::DictionaryValue::From(extensions.Pass());
+ base::DictionaryValue::From(std::move(extensions));
if (ext_dictionary) {
return ext_dictionary;
}
« no previous file with comments | « chrome/browser/extensions/external_install_error.cc ('k') | chrome/browser/extensions/external_provider_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698