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

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

Issue 9999002: Revert 130299 - Revert 130298 - Revert 130258 - Make it possible to blacklist gpu's based on the Wi… (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1025/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/resources/gpu_internals/info_view.js ('k') | content/browser/gpu/gpu_blacklist.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/gpu_internals_ui.cc
===================================================================
--- chrome/browser/ui/webui/gpu_internals_ui.cc (revision 131377)
+++ chrome/browser/ui/webui/gpu_internals_ui.cc (working copy)
@@ -206,6 +206,10 @@
dict->SetString("blacklist_version",
GpuDataManager::GetInstance()->GetBlacklistVersion());
+ GpuPerformanceStats stats =
+ GpuDataManager::GetInstance()->GetPerformanceStats();
+ dict->Set("performance", stats.ToValue());
+
return dict;
}
« no previous file with comments | « chrome/browser/resources/gpu_internals/info_view.js ('k') | content/browser/gpu/gpu_blacklist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698