Skip to content

Commit

Permalink
3687395: Remove DictionaryValue::HasKey().
Browse files Browse the repository at this point in the history
  • Loading branch information
VerteDinde committed Jun 13, 2022
1 parent 74c45ac commit 2a6804d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/api/gpu_info_enumerator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void GPUInfoEnumerator::EndGPUDevice() {
auto& top_value = value_stack.top();
// GPUDevice can be more than one. So create a list of all.
// The first one is the active GPU device.
if (top_value->HasKey(kGPUDeviceKey)) {
if (top_value->FindKey(kGPUDeviceKey)) {
base::ListValue* list;
top_value->GetList(kGPUDeviceKey, &list);
list->Append(base::Value::FromUniquePtrValue(std::move(current)));
Expand Down

0 comments on commit 2a6804d

Please sign in to comment.