| Index: chrome/browser/ui/webui/system_info_ui.cc
|
| diff --git a/chrome/browser/ui/webui/system_info_ui.cc b/chrome/browser/ui/webui/system_info_ui.cc
|
| index 11631235af9b81e29c735dca1d50890b0a5e56b0..510826340f90a9b0ccff409c2d11a695554e16de 100644
|
| --- a/chrome/browser/ui/webui/system_info_ui.cc
|
| +++ b/chrome/browser/ui/webui/system_info_ui.cc
|
| @@ -160,10 +160,10 @@ void SystemInfoUIHTMLSource::RequestComplete() {
|
| for (SystemLogsResponse::const_iterator it = response_->begin();
|
| it != response_->end();
|
| ++it) {
|
| - base::DictionaryValue* val = new base::DictionaryValue;
|
| + std::unique_ptr<base::DictionaryValue> val(new base::DictionaryValue);
|
| val->SetString("statName", it->first);
|
| val->SetString("statValue", it->second);
|
| - details->Append(val);
|
| + details->Append(std::move(val));
|
| }
|
| }
|
| static const base::StringPiece systeminfo_html(
|
|
|