Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: gpu/config/gpu_control_list.cc

Issue 503243002: In about:gpu page, make sure feature status and problem description match (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | gpu/config/gpu_control_list_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_control_list.cc
diff --git a/gpu/config/gpu_control_list.cc b/gpu/config/gpu_control_list.cc
index f5ccd61e291d07ee44f059e11b0dcc968d28e93a..f4a382c43a702c7f6e41ff2e1f1a31f508c54eae 100644
--- a/gpu/config/gpu_control_list.cc
+++ b/gpu/config/gpu_control_list.cc
@@ -1401,14 +1401,16 @@ std::set<int> GpuControlList::MakeDecision(
for (size_t i = 0; i < entries_.size(); ++i) {
if (entries_[i]->Contains(os, os_version, gpu_info)) {
+ bool needs_more_info = entries_[i]->NeedsMoreInfo(gpu_info);
if (!entries_[i]->disabled()) {
if (control_list_logging_enabled_)
entries_[i]->LogControlListMatch(control_list_logging_name_);
MergeFeatureSets(&possible_features, entries_[i]->features());
- if (!entries_[i]->NeedsMoreInfo(gpu_info))
+ if (!needs_more_info)
MergeFeatureSets(&features, entries_[i]->features());
}
- active_entries_.push_back(entries_[i]);
+ if (!needs_more_info)
+ active_entries_.push_back(entries_[i]);
}
}
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | gpu/config/gpu_control_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698