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

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

Issue 665123002: [DevTools] Move SystemInfo domain to generated handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browserProtocol
Patch Set: Created 6 years, 2 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
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(

Powered by Google App Engine
This is Rietveld 408576698