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

Unified Diff: trunk/src/gpu/config/gpu_control_list.cc

Issue 23775004: Revert 221114 "Enable GPU blacklist in tests." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 | « trunk/src/gpu/config/gpu_control_list.h ('k') | trunk/src/gpu/config/software_rendering_list_json.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/gpu/config/gpu_control_list.cc
===================================================================
--- trunk/src/gpu/config/gpu_control_list.cc (revision 221144)
+++ trunk/src/gpu/config/gpu_control_list.cc (working copy)
@@ -10,7 +10,6 @@
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
-#include "base/strings/stringprintf.h"
#include "base/sys_info.h"
#include "gpu/config/gpu_info.h"
#include "gpu/config/gpu_util.h"
@@ -1037,12 +1036,6 @@
return kMultiGpuCategoryNone;
}
-void GpuControlList::GpuControlListEntry::LogControlListMatch() const {
- static const char kControlListMatchMessage[] =
- "Control list match for rule #%u.";
- LOG(INFO) << base::StringPrintf(kControlListMatchMessage, id_);
-}
-
bool GpuControlList::GpuControlListEntry::Contains(
OsType os_type, const std::string& os_version,
const GPUInfo& gpu_info) const {
@@ -1199,8 +1192,7 @@
: max_entry_id_(0),
contains_unknown_fields_(false),
needs_more_info_(false),
- supports_feature_type_all_(false),
- control_list_logging_enabled_(false) {
+ supports_feature_type_all_(false) {
}
GpuControlList::~GpuControlList() {
@@ -1317,8 +1309,6 @@
for (size_t i = 0; i < entries_.size(); ++i) {
if (entries_[i]->Contains(os, os_version, gpu_info)) {
if (!entries_[i]->disabled()) {
- if (control_list_logging_enabled_)
- entries_[i]->LogControlListMatch();
MergeFeatureSets(&possible_features, entries_[i]->features());
if (!entries_[i]->NeedsMoreInfo(gpu_info))
MergeFeatureSets(&features, entries_[i]->features());
« no previous file with comments | « trunk/src/gpu/config/gpu_control_list.h ('k') | trunk/src/gpu/config/software_rendering_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698