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

Unified Diff: content/browser/gpu/gpu_blacklist.cc

Issue 10959061: Revert 158076 - Implement blacklist's force GPU capability in dual GPU machines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « content/browser/gpu/gpu_blacklist.h ('k') | content/browser/gpu/gpu_blacklist_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_blacklist.cc
===================================================================
--- content/browser/gpu/gpu_blacklist.cc (revision 158210)
+++ content/browser/gpu/gpu_blacklist.cc (working copy)
@@ -794,7 +794,7 @@
const std::string& switching_string) {
GpuSwitchingOption switching = gpu_util::StringToGpuSwitchingOption(
switching_string);
- if (switching == content::GPU_SWITCHING_OPTION_UNKNOWN)
+ if (switching == content::GPU_SWITCHING_UNKNOWN)
return false;
decision_.gpu_switching = switching;
return true;
@@ -1036,7 +1036,7 @@
const content::GPUInfo& gpu_info) {
active_entries_.clear();
int type = 0;
- GpuSwitchingOption switching = content::GPU_SWITCHING_OPTION_AUTOMATIC;
+ GpuSwitchingOption switching = content::GPU_SWITCHING_AUTOMATIC;
if (os == kOsAny)
os = GetOsType();
@@ -1056,7 +1056,7 @@
if (!blacklist_[i]->disabled()) {
type |= blacklist_[i]->GetGpuFeatureType();
if (blacklist_[i]->GetGpuSwitchingOption() !=
- content::GPU_SWITCHING_OPTION_AUTOMATIC)
+ content::GPU_SWITCHING_AUTOMATIC)
switching = blacklist_[i]->GetGpuSwitchingOption();
}
active_entries_.push_back(blacklist_[i]);
Property changes on: content/browser/gpu/gpu_blacklist.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « content/browser/gpu/gpu_blacklist.h ('k') | content/browser/gpu/gpu_blacklist_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698