| Index: gpu/config/gpu_control_list.cc
|
| diff --git a/gpu/config/gpu_control_list.cc b/gpu/config/gpu_control_list.cc
|
| index f5139db0e9cfbce19f998a8ea9a04f070309461a..67e3368f5dcdb3f6cab4d74753015d2d839352e7 100644
|
| --- a/gpu/config/gpu_control_list.cc
|
| +++ b/gpu/config/gpu_control_list.cc
|
| @@ -758,7 +758,7 @@ GpuControlList::GpuControlListEntry::GetEntryFromValue(
|
| }
|
| ScopedGpuControlListEntry exception(GetEntryFromValue(
|
| exception_value, false, feature_map, supports_feature_type_all));
|
| - if (exception == NULL) {
|
| + if (exception.get() == NULL) {
|
| LOG(WARNING) << "Malformed exceptions entry " << entry->id();
|
| return NULL;
|
| }
|
| @@ -1225,7 +1225,7 @@ bool GpuControlList::LoadList(const base::DictionaryValue& parsed_json,
|
| DCHECK(browser_version_support == kSupported);
|
| ScopedGpuControlListEntry entry(GpuControlListEntry::GetEntryFromValue(
|
| list_item, true, feature_map_, supports_feature_type_all_));
|
| - if (entry == NULL)
|
| + if (entry.get() == NULL)
|
| return false;
|
| if (entry->id() > max_entry_id)
|
| max_entry_id = entry->id();
|
| @@ -1305,7 +1305,7 @@ void GpuControlList::GetDecisionEntries(
|
| void GpuControlList::GetReasons(base::ListValue* problem_list) const {
|
| DCHECK(problem_list);
|
| for (size_t i = 0; i < active_entries_.size(); ++i) {
|
| - GpuControlListEntry* entry = active_entries_[i];
|
| + GpuControlListEntry* entry = active_entries_[i].get();
|
| if (entry->disabled())
|
| continue;
|
| base::DictionaryValue* problem = new base::DictionaryValue();
|
|
|