Index: content/browser/gpu/compositor_util.cc |
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc |
index 1fcc0a5ead04586ca3b24eef0fcba63a1c4a0792..fd94974bd1ea17979d596794ef0c291041a26ec4 100644 |
--- a/content/browser/gpu/compositor_util.cc |
+++ b/content/browser/gpu/compositor_util.cc |
@@ -277,7 +277,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 = |
@@ -374,10 +374,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 |