Commit 5eea3cdc authored by Erik Chen's avatar Erik Chen Committed by Commit Bot

Fix bug in tracing path for memlog.

Bug: 
Change-Id: Idd4d452d03c8c5c20628c35d788fb322ba99df39
Reviewed-on: https://chromium-review.googlesource.com/661945Reviewed-by: default avatarBrett Wilson <brettw@chromium.org>
Commit-Queue: Erik Chen <erikchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501495}
parent ce4c522e
...@@ -202,7 +202,7 @@ bool ProfilingProcessHost::OnMemoryDump( ...@@ -202,7 +202,7 @@ bool ProfilingProcessHost::OnMemoryDump(
// Attempt to dump all processes. Some of these processes will not be profiled // Attempt to dump all processes. Some of these processes will not be profiled
// [e.g. utility processes, including the profiling process]. The profiling // [e.g. utility processes, including the profiling process]. The profiling
// process will gracefully handle these failures. // process will gracefully handle these failures.
DCHECK_EQ(GetCurrentMode(), Mode::kAll); DCHECK_NE(GetCurrentMode(), Mode::kNone);
base::ProcessIterator process_iter(NULL); base::ProcessIterator process_iter(NULL);
while (const base::ProcessEntry* process_entry = while (const base::ProcessEntry* process_entry =
process_iter.NextProcessEntry()) { process_iter.NextProcessEntry()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment