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

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

Issue 57633007: Merge gpu_switching_list into gpu_driver_bug_list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final final Created 7 years, 1 month 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 | « no previous file | content/browser/gpu/gpu_data_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/compositor_util.cc
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index 85240fa170cba83e67d712cf72bab110f3fe9cf2..916fcdec541cae52c0a4ed9bb88fe6643100dd79 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -366,25 +366,6 @@ base::Value* GetFeatureStatus() {
feature_status_dict->SetString(
gpu_feature_info.name.c_str(), status.c_str());
}
- gpu::GpuSwitchingOption gpu_switching_option =
- manager->GetGpuSwitchingOption();
- if (gpu_switching_option != gpu::GPU_SWITCHING_OPTION_UNKNOWN) {
- std::string gpu_switching;
- switch (gpu_switching_option) {
- case gpu::GPU_SWITCHING_OPTION_AUTOMATIC:
- gpu_switching = "gpu_switching_automatic";
- break;
- case gpu::GPU_SWITCHING_OPTION_FORCE_DISCRETE:
- gpu_switching = "gpu_switching_force_discrete";
- break;
- case gpu::GPU_SWITCHING_OPTION_FORCE_INTEGRATED:
- gpu_switching = "gpu_switching_force_integrated";
- break;
- default:
- break;
- }
- feature_status_dict->SetString("gpu_switching", gpu_switching.c_str());
- }
return feature_status_dict;
}
« no previous file with comments | « no previous file | content/browser/gpu/gpu_data_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698