Update gpuinfo enumerator api

Related chromium change is here => 4178e190e9
This commit is contained in:
Nitish Sakhawalkar 2019-05-17 11:07:02 -07:00
parent 7a0058fbdb
commit e38127323f
3 changed files with 1 additions and 16 deletions

View file

@ -108,18 +108,6 @@ void GPUInfoEnumerator::EndAuxAttributes() {
value_stack.pop();
}
void GPUInfoEnumerator::BeginOverlayCapability() {
value_stack.push(std::move(current));
current = std::make_unique<base::DictionaryValue>();
}
void GPUInfoEnumerator::EndOverlayCapability() {
auto& top_value = value_stack.top();
top_value->SetDictionary(kOverlayCapabilityKey, std::move(current));
current = std::move(top_value);
value_stack.pop();
}
void GPUInfoEnumerator::BeginDx12VulkanVersionInfo() {
value_stack.push(std::move(current));
current = std::make_unique<base::DictionaryValue>();