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; |
} |