Commit 7bbca697 authored by Xi Cheng's avatar Xi Cheng Committed by Commit Bot

Fix format in stack_sampling_profiler.cc

Change-Id: Ifbfd63387c1060f664530ce54963303ff3146fd0
Reviewed-on: https://chromium-review.googlesource.com/1100109Reviewed-by: default avatarMike Wittman <wittman@chromium.org>
Commit-Queue: Xi Cheng <chengx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567136}
parent 8b517967
...@@ -860,14 +860,14 @@ bool operator<(const StackSamplingProfiler::Sample& a, ...@@ -860,14 +860,14 @@ bool operator<(const StackSamplingProfiler::Sample& a,
return a.frames < b.frames; return a.frames < b.frames;
} }
bool operator==(const StackSamplingProfiler::Frame &a, bool operator==(const StackSamplingProfiler::Frame& a,
const StackSamplingProfiler::Frame &b) { const StackSamplingProfiler::Frame& b) {
return a.instruction_pointer == b.instruction_pointer && return a.instruction_pointer == b.instruction_pointer &&
a.module_index == b.module_index; a.module_index == b.module_index;
} }
bool operator<(const StackSamplingProfiler::Frame &a, bool operator<(const StackSamplingProfiler::Frame& a,
const StackSamplingProfiler::Frame &b) { const StackSamplingProfiler::Frame& b) {
if (a.module_index != b.module_index) if (a.module_index != b.module_index)
return a.module_index < b.module_index; return a.module_index < b.module_index;
......
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