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

Unified Diff: chrome/browser/extensions/extension_service_test_base.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/extension_service_test_base.cc
diff --git a/chrome/browser/extensions/extension_service_test_base.cc b/chrome/browser/extensions/extension_service_test_base.cc
index c9269fcb1c933f75e373ccde8fba3e3f85269529..78cfc0490028bcc404ca166afe5cc3d3f59714bf 100644
--- a/chrome/browser/extensions/extension_service_test_base.cc
+++ b/chrome/browser/extensions/extension_service_test_base.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/extensions/extension_service_test_base.h"
+#include <utility>
+
#include "base/command_line.h"
#include "base/files/file_util.h"
#include "base/memory/ref_counted.h"
@@ -57,7 +59,7 @@ scoped_ptr<TestingProfile> BuildTestingProfile(
scoped_ptr<syncable_prefs::PrefServiceSyncable> prefs(
factory.CreateSyncable(registry.get()));
chrome::RegisterUserProfilePrefs(registry.get());
- profile_builder.SetPrefService(prefs.Pass());
+ profile_builder.SetPrefService(std::move(prefs));
}
if (params.profile_is_supervised)

Powered by Google App Engine
This is Rietveld 408576698