| Index: chrome/browser/password_manager/password_store_factory.cc
|
| diff --git a/chrome/browser/password_manager/password_store_factory.cc b/chrome/browser/password_manager/password_store_factory.cc
|
| index bd788b8674c4a8dddc4523e64c3a3af53cb63dd5..29b6b875de8df9c5715d6ff6c62c9b4bb23b6ecd 100644
|
| --- a/chrome/browser/password_manager/password_store_factory.cc
|
| +++ b/chrome/browser/password_manager/password_store_factory.cc
|
| @@ -102,14 +102,14 @@ scoped_refptr<PasswordStore> PasswordStoreFactory::GetForProfile(
|
| ServiceAccessType sat) {
|
| if (sat == ServiceAccessType::IMPLICIT_ACCESS && profile->IsOffTheRecord()) {
|
| NOTREACHED() << "This profile is OffTheRecord";
|
| - return NULL;
|
| + return nullptr;
|
| }
|
|
|
| PasswordStoreFactory* factory = GetInstance();
|
| PasswordStoreService* service = static_cast<PasswordStoreService*>(
|
| factory->GetServiceForBrowserContext(profile, true));
|
| if (!service)
|
| - return NULL;
|
| + return nullptr;
|
| return service->GetPasswordStore();
|
| }
|
|
|
| @@ -271,7 +271,7 @@ KeyedService* PasswordStoreFactory::BuildServiceInstanceFor(
|
| !ps->Init(
|
| sync_start_util::GetFlareForSyncableService(profile->GetPath()))) {
|
| NOTREACHED() << "Could not initialize password manager.";
|
| - return NULL;
|
| + return nullptr;
|
| }
|
|
|
| return new PasswordStoreService(ps);
|
|
|