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

Unified Diff: content/common/gpu/gpu_channel.cc

Issue 1262333005: [tracing] Introduce MemoryDumpArgs to enable light and heavy dumps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win and android fix. Created 5 years, 5 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/common/gpu/gpu_channel.cc
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
index 2afaf3d13c1dc14316c47452b29302e596b258a8..2fba7e60d7d5c78d6f20e6bc09d191a910ba44ee 100644
--- a/content/common/gpu/gpu_channel.cc
+++ b/content/common/gpu/gpu_channel.cc
@@ -898,7 +898,8 @@ void GpuChannel::HandleUpdateValueState(
pending_valuebuffer_state_->UpdateState(target, state);
}
-bool GpuChannel::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd) {
+bool GpuChannel::OnMemoryDump(const base::trace_event::MemoryDumpArgs& args,
+ base::trace_event::ProcessMemoryDump* pmd) {
auto dump_name = GetChannelName();
std::replace(dump_name.begin(), dump_name.end(), '.', '_');

Powered by Google App Engine
This is Rietveld 408576698