summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaitkp@chromium.org <caitkp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-29 03:55:13 +0000
committercaitkp@chromium.org <caitkp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-29 03:55:13 +0000
commit188a47b4adc463fc32e0153ff5412aa1148cb05e (patch)
tree81720602bb59fe3310945660d2668c61dc22eb31
parent82abe56f0395f0cdb13b511a36930f53eaefab19 (diff)
downloadchromium_src-188a47b4adc463fc32e0153ff5412aa1148cb05e.zip
chromium_src-188a47b4adc463fc32e0153ff5412aa1148cb05e.tar.gz
chromium_src-188a47b4adc463fc32e0153ff5412aa1148cb05e.tar.bz2
Don't expose ObserverList::Size()
BUG=278526 Review URL: https://chromiumcodereview.appspot.com/23483011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220176 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/observer_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/observer_list.h b/base/observer_list.h
index 20f183d..b44e33f 100644
--- a/base/observer_list.h
+++ b/base/observer_list.h
@@ -157,9 +157,9 @@ class ObserverListBase
}
}
+ protected:
size_t size() const { return observers_.size(); }
- protected:
void Compact() {
observers_.erase(
std::remove(observers_.begin(), observers_.end(),