| Index: extensions/browser/computed_hashes.cc
|
| diff --git a/extensions/browser/computed_hashes.cc b/extensions/browser/computed_hashes.cc
|
| index 3c89770e0f282162580e67592c64fa51a66b6e03..8b00f62191ac47941df4ff23168823806afeffe6 100644
|
| --- a/extensions/browser/computed_hashes.cc
|
| +++ b/extensions/browser/computed_hashes.cc
|
| @@ -36,7 +36,7 @@ bool ComputedHashes::Reader::InitFromFile(const base::FilePath& path) {
|
| if (!base::ReadFileToString(path, &contents))
|
| return false;
|
|
|
| - base::DictionaryValue* top_dictionary = NULL;
|
| + base::DictionaryValue* top_dictionary = nullptr;
|
| scoped_ptr<base::Value> value(base::JSONReader::Read(contents));
|
| if (!value.get() || !value->GetAsDictionary(&top_dictionary))
|
| return false;
|
| @@ -47,12 +47,12 @@ bool ComputedHashes::Reader::InitFromFile(const base::FilePath& path) {
|
| if (!top_dictionary->GetInteger(kVersionKey, &version) || version != kVersion)
|
| return false;
|
|
|
| - base::ListValue* all_hashes = NULL;
|
| + base::ListValue* all_hashes = nullptr;
|
| if (!top_dictionary->GetList(kFileHashesKey, &all_hashes))
|
| return false;
|
|
|
| for (size_t i = 0; i < all_hashes->GetSize(); i++) {
|
| - base::DictionaryValue* dictionary = NULL;
|
| + base::DictionaryValue* dictionary = nullptr;
|
| if (!all_hashes->GetDictionary(i, &dictionary))
|
| return false;
|
|
|
| @@ -69,7 +69,7 @@ bool ComputedHashes::Reader::InitFromFile(const base::FilePath& path) {
|
| return false;
|
| }
|
|
|
| - base::ListValue* hashes_list = NULL;
|
| + base::ListValue* hashes_list = nullptr;
|
| if (!dictionary->GetList(kBlockHashesKey, &hashes_list))
|
| return false;
|
|
|
|
|