Index: ios/chrome/browser/history/history_service_factory.cc |
diff --git a/ios/chrome/browser/history/history_service_factory.cc b/ios/chrome/browser/history/history_service_factory.cc |
index 9514dd8448c1be19c9f4f6ef1c0ad06f48c63956..cebdaf52c262754e9242312074b101e55c4fab30 100644 |
--- a/ios/chrome/browser/history/history_service_factory.cc |
+++ b/ios/chrome/browser/history/history_service_factory.cc |
@@ -4,6 +4,8 @@ |
#include "ios/chrome/browser/history/history_service_factory.h" |
+#include <utility> |
+ |
#include "base/memory/singleton.h" |
#include "base/prefs/pref_service.h" |
#include "components/history/core/browser/history_database_params.h" |
@@ -80,7 +82,7 @@ scoped_ptr<KeyedService> HistoryServiceFactory::BuildServiceInstanceFor( |
browser_state->GetStatePath()))) { |
return nullptr; |
} |
- return history_service.Pass(); |
+ return std::move(history_service); |
} |
web::BrowserState* HistoryServiceFactory::GetBrowserStateToUse( |