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 f71a62c8652bdf13fc07baef60fa7edcc75e624e..db676c4382d0175cb8e9cb80c4576a681f488159 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( |