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

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

Issue 665123002: [DevTools] Move SystemInfo domain to generated handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browserProtocol
Patch Set: Rebased Created 6 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 | « content/browser/gpu/compositor_util.h ('k') | 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 77cf2bc5a83c7504e8155e2b0de575b27601cc9e..9f75878f9c3b22e010ee6ce7fee5c35231871bf7 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -274,7 +274,7 @@ bool UseSurfacesEnabled() {
return command_line.HasSwitch(switches::kUseSurfaces);
}
-base::Value* GetFeatureStatus() {
+base::DictionaryValue* GetFeatureStatus() {
GpuDataManagerImpl* manager = GpuDataManagerImpl::GetInstance();
std::string gpu_access_blocked_reason;
bool gpu_access_blocked =
@@ -371,10 +371,8 @@ base::Value* GetProblems() {
return problem_list;
}
-base::Value* GetDriverBugWorkarounds() {
- base::ListValue* workaround_list = new base::ListValue();
- GpuDataManagerImpl::GetInstance()->GetDriverBugWorkarounds(workaround_list);
- return workaround_list;
+std::vector<std::string> GetDriverBugWorkarounds() {
+ return GpuDataManagerImpl::GetInstance()->GetDriverBugWorkarounds();
}
} // namespace content
« no previous file with comments | « content/browser/gpu/compositor_util.h ('k') | content/browser/gpu/gpu_data_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698