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

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

Issue 723623003: Revert of [DevTools] Move SystemInfo domain to generated handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browserProtocol
Patch Set: 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/gpu_data_manager_impl_private.h ('k') | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 db676c4382d0175cb8e9cb80c4576a681f488159..f71a62c8652bdf13fc07baef60fa7edcc75e624e 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -756,16 +756,14 @@
gpu_driver_bug_list_->GetReasons(reasons, "workarounds");
}
-std::vector<std::string>
-GpuDataManagerImplPrivate::GetDriverBugWorkarounds() const {
- std::vector<std::string> workarounds;
+void GpuDataManagerImplPrivate::GetDriverBugWorkarounds(
+ base::ListValue* workarounds) const {
for (std::set<int>::const_iterator it = gpu_driver_bugs_.begin();
it != gpu_driver_bugs_.end(); ++it) {
- workarounds.push_back(
+ workarounds->AppendString(
gpu::GpuDriverBugWorkaroundTypeToString(
static_cast<gpu::GpuDriverBugWorkaroundType>(*it)));
}
- return workarounds;
}
void GpuDataManagerImplPrivate::AddLogMessage(
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.h ('k') | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698