Index: chrome/test/base/testing_profile_manager.cc |
diff --git a/chrome/test/base/testing_profile_manager.cc b/chrome/test/base/testing_profile_manager.cc |
index 54029005310401bef7f34ea85904f27cbd13832c..2d876eda5c76fd8caac3ec49fc7c3ddcc660039f 100644 |
--- a/chrome/test/base/testing_profile_manager.cc |
+++ b/chrome/test/base/testing_profile_manager.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/test/base/testing_profile_manager.h" |
#include <stddef.h> |
+#include <utility> |
#include "base/memory/ref_counted.h" |
#include "base/strings/utf_string_conversions.h" |
@@ -83,7 +84,7 @@ TestingProfile* TestingProfileManager::CreateTestingProfile( |
// Create the profile and register it. |
TestingProfile::Builder builder; |
builder.SetPath(profile_path); |
- builder.SetPrefService(prefs.Pass()); |
+ builder.SetPrefService(std::move(prefs)); |
builder.SetSupervisedUserId(supervised_user_id); |
for (TestingProfile::TestingFactories::const_iterator it = factories.begin(); |