| Index: base/tracked_objects.cc
|
| diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc
|
| index 36460000249dd840bbc5145cd167f66c0d77838d..d62aa5971401d3ccff783b4ce8685a2b86b798fc 100644
|
| --- a/base/tracked_objects.cc
|
| +++ b/base/tracked_objects.cc
|
| @@ -743,11 +743,6 @@ void Comparator::Clear() {
|
| selector_ = NIL;
|
| }
|
|
|
| -void Comparator::Sort(DataCollector::Collection* collection) const {
|
| - std::sort(collection->begin(), collection->end(), *this);
|
| -}
|
| -
|
| -
|
| bool Comparator::operator()(const Snapshot& left,
|
| const Snapshot& right) const {
|
| switch (selector_) {
|
| @@ -816,6 +811,10 @@ bool Comparator::operator()(const Snapshot& left,
|
| return false;
|
| }
|
|
|
| +void Comparator::Sort(DataCollector::Collection* collection) const {
|
| + std::sort(collection->begin(), collection->end(), *this);
|
| +}
|
| +
|
| bool Comparator::Equivalent(const Snapshot& left,
|
| const Snapshot& right) const {
|
| switch (selector_) {
|
|
|