Index: chrome/browser/sessions/session_service_factory.h |
diff --git a/chrome/browser/sessions/session_service_factory.h b/chrome/browser/sessions/session_service_factory.h |
index a05e2d78492180d1a64ee79fe9c6e98a214584a0..852a9559dc8c445a703ea0496033516a846652a5 100644 |
--- a/chrome/browser/sessions/session_service_factory.h |
+++ b/chrome/browser/sessions/session_service_factory.h |
@@ -5,6 +5,8 @@ |
#ifndef CHROME_BROWSER_SESSIONS_SESSION_SERVICE_FACTORY_H_ |
#define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_FACTORY_H_ |
+#include <utility> |
+ |
#include "base/gtest_prod_util.h" |
#include "base/memory/singleton.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -49,7 +51,7 @@ class SessionServiceFactory : public BrowserContextKeyedServiceFactory { |
scoped_ptr<SessionService> service) { |
GetInstance()->BrowserContextShutdown(profile); |
GetInstance()->BrowserContextDestroyed(profile); |
- GetInstance()->Associate(profile, service.Pass()); |
+ GetInstance()->Associate(profile, std::move(service)); |
} |
#endif |