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

Unified Diff: chrome/browser/ui/webui/gpu_internals_ui.cc

Issue 6712048: Implement easy GPU feature status summary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor tweak. Created 9 years, 8 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
Index: chrome/browser/ui/webui/gpu_internals_ui.cc
diff --git a/chrome/browser/ui/webui/gpu_internals_ui.cc b/chrome/browser/ui/webui/gpu_internals_ui.cc
index 216c5c8ac9e19696d00908271454efe91e5e6710..72f24828dcd7576c026c57ae607ad2f4e4a849d8 100644
--- a/chrome/browser/ui/webui/gpu_internals_ui.cc
+++ b/chrome/browser/ui/webui/gpu_internals_ui.cc
@@ -382,10 +382,10 @@ void GpuMessageHandler::OnGpuInfoUpdate() {
// Get GPU Info.
DictionaryValue* gpu_info_val = GpuInfoToDict(gpu_info);
- // Add in blacklisting reasons
- Value* blacklisting_reasons = gpu_data_manager_->GetBlacklistingReasons();
- if (blacklisting_reasons)
- gpu_info_val->Set("blacklistingReasons", blacklisting_reasons);
+ // Add in blacklisting features
+ Value* feature_status = gpu_data_manager_->GetFeatureStatus();
+ if (feature_status)
+ gpu_info_val->Set("featureStatus", feature_status);
// Send GPU Info to javascript.
web_ui_->CallJavascriptFunction("browserBridge.onGpuInfoUpdate",

Powered by Google App Engine
This is Rietveld 408576698