Index: chrome/browser/supervised_user/chromeos/supervised_user_password_service_factory.cc |
diff --git a/chrome/browser/supervised_user/chromeos/supervised_user_password_service_factory.cc b/chrome/browser/supervised_user/chromeos/supervised_user_password_service_factory.cc |
index c320fe5811bdb5d9c65d6c084502be8510ab8efd..08f181f46829beb77217b1edf1f2c04dc402b0e1 100644 |
--- a/chrome/browser/supervised_user/chromeos/supervised_user_password_service_factory.cc |
+++ b/chrome/browser/supervised_user/chromeos/supervised_user_password_service_factory.cc |
@@ -42,7 +42,8 @@ SupervisedUserPasswordServiceFactory:: |
KeyedService* SupervisedUserPasswordServiceFactory::BuildServiceInstanceFor( |
content::BrowserContext* context) const { |
Profile* profile = static_cast<Profile*>(context); |
- user_manager::User* user = ProfileHelper::Get()->GetUserByProfile(profile); |
+ const user_manager::User* user = |
+ ProfileHelper::Get()->GetUserByProfile(profile); |
if (user->GetType() != user_manager::USER_TYPE_SUPERVISED) |
return NULL; |
SupervisedUserPasswordService* result = new SupervisedUserPasswordService(); |