| Index: extensions/browser/api/web_request/upload_data_presenter.cc
|
| diff --git a/extensions/browser/api/web_request/upload_data_presenter.cc b/extensions/browser/api/web_request/upload_data_presenter.cc
|
| index 3bb1d8019d32e3a9af3e8be94df323a124cd9ac8..ff63010bc56ca5ff1b84146be66855a7d82d54c1 100644
|
| --- a/extensions/browser/api/web_request/upload_data_presenter.cc
|
| +++ b/extensions/browser/api/web_request/upload_data_presenter.cc
|
| @@ -30,10 +30,10 @@ namespace {
|
| // for |key|, creating it if necessary.
|
| base::ListValue* GetOrCreateList(base::DictionaryValue* dictionary,
|
| const std::string& key) {
|
| - base::ListValue* list = NULL;
|
| + base::ListValue* list = nullptr;
|
| if (!dictionary->GetList(key, &list)) {
|
| list = new base::ListValue();
|
| - dictionary->SetWithoutPathExpansion(key, list);
|
| + dictionary->SetWithoutPathExpansion(key, base::WrapUnique(list));
|
| }
|
| return list;
|
| }
|
|
|