| Index: gpu/config/gpu_control_list.cc
|
| diff --git a/gpu/config/gpu_control_list.cc b/gpu/config/gpu_control_list.cc
|
| index 3dd1d923ae9a0b53bc0bff2e27e61bc50a2aac09..6ea07f27895a7910cb9f0a0ee6202b0e12292888 100644
|
| --- a/gpu/config/gpu_control_list.cc
|
| +++ b/gpu/config/gpu_control_list.cc
|
| @@ -1323,8 +1323,7 @@ GpuControlList::~GpuControlList() {
|
| bool GpuControlList::LoadList(
|
| const std::string& json_context,
|
| GpuControlList::OsFilter os_filter) {
|
| - scoped_ptr<base::Value> root;
|
| - root.reset(base::JSONReader::Read(json_context));
|
| + scoped_ptr<base::Value> root(base::JSONReader::Read(json_context));
|
| if (root.get() == NULL || !root->IsType(base::Value::TYPE_DICTIONARY))
|
| return false;
|
|
|
|
|