Index: content/browser/gpu/gpu_data_manager_impl_private.cc |
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc |
index 2c3790f60c4ffd0ea476e9205158bb731baffe72..0aafccf2a96a634f8df77ef50f9b29f792b8bde0 100644 |
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc |
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc |
@@ -756,14 +756,16 @@ void GpuDataManagerImplPrivate::GetBlacklistReasons( |
gpu_driver_bug_list_->GetReasons(reasons, "workarounds"); |
} |
-void GpuDataManagerImplPrivate::GetDriverBugWorkarounds( |
- base::ListValue* workarounds) const { |
+std::vector<std::string> |
+GpuDataManagerImplPrivate::GetDriverBugWorkarounds() const { |
+ std::vector<std::string> workarounds; |
for (std::set<int>::const_iterator it = gpu_driver_bugs_.begin(); |
it != gpu_driver_bugs_.end(); ++it) { |
- workarounds->AppendString( |
+ workarounds.push_back( |
gpu::GpuDriverBugWorkaroundTypeToString( |
static_cast<gpu::GpuDriverBugWorkaroundType>(*it))); |
} |
+ return workarounds; |
} |
void GpuDataManagerImplPrivate::AddLogMessage( |