diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 00:50:59 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 00:50:59 +0000 |
commit | eae9c0623d1800201739b4be146649103a45cd93 (patch) | |
tree | 2ce42f83e18d8a0a618ffd6dbe69b1acade5bda4 /base/tracked_objects.cc | |
parent | 26f0821d0a34a79e551213d56054366aab6c70f7 (diff) | |
download | chromium_src-eae9c0623d1800201739b4be146649103a45cd93.zip chromium_src-eae9c0623d1800201739b4be146649103a45cd93.tar.gz chromium_src-eae9c0623d1800201739b4be146649103a45cd93.tar.bz2 |
Order function definitions in base/ according to the header.
BUG=68682
TEST=compiles
Review URL: http://codereview.chromium.org/6085015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/tracked_objects.cc')
-rw-r--r-- | base/tracked_objects.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc index 3646000..d62aa59 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_) { |