Index: base/profiler/stack_sampling_profiler.h |
diff --git a/base/profiler/stack_sampling_profiler.h b/base/profiler/stack_sampling_profiler.h |
index bf5a4f337219f76b782189fde2c5aa2f9646c640..9424ca0081b78d9b4681b7d08ac7521dd71b106b 100644 |
--- a/base/profiler/stack_sampling_profiler.h |
+++ b/base/profiler/stack_sampling_profiler.h |
@@ -247,10 +247,8 @@ |
DISALLOW_COPY_AND_ASSIGN(StackSamplingProfiler); |
}; |
-// These operators permit types to be compared and used in a map of Samples, as |
-// done in tests and by the metrics provider code. |
-BASE_EXPORT bool operator==(const StackSamplingProfiler::Module& a, |
- const StackSamplingProfiler::Module& b); |
+// The metrics provider code wants to put Samples in a map and compare them, |
+// which requires us to define a few operators. |
BASE_EXPORT bool operator==(const StackSamplingProfiler::Frame& a, |
const StackSamplingProfiler::Frame& b); |
BASE_EXPORT bool operator<(const StackSamplingProfiler::Frame& a, |