Chromium Code Reviews| Index: chrome/browser/password_manager/password_store_x.cc |
| diff --git a/chrome/browser/password_manager/password_store_x.cc b/chrome/browser/password_manager/password_store_x.cc |
| index 5ae4cde964e68efb4af3b48bfdb2fad2b417089f..006fbbd90fa92ed0ac7cd83db944d2da31c9db1a 100644 |
| --- a/chrome/browser/password_manager/password_store_x.cc |
| +++ b/chrome/browser/password_manager/password_store_x.cc |
| @@ -239,7 +239,7 @@ void PasswordStoreX::CheckMigration() { |
| } else { |
| LOG(WARNING) << "Native password store migration failed! " << |
| "Falling back on default (unencrypted) store."; |
| - backend_.reset(NULL); |
| + backend_.reset(nullptr); |
|
vabr (Chromium)
2015/02/24 11:40:14
Just call reset() instead of reset(nullptr).
Also
Pritam Nikam
2015/02/24 12:28:51
Done.
|
| } |
| } |
| @@ -247,7 +247,7 @@ bool PasswordStoreX::allow_default_store() { |
| if (allow_fallback_) { |
| LOG(WARNING) << "Native password store failed! " << |
| "Falling back on default (unencrypted) store."; |
| - backend_.reset(NULL); |
| + backend_.reset(nullptr); |
| // Don't warn again. We'll use the default store because backend_ is NULL. |
| allow_fallback_ = false; |
| } |