summaryrefslogtreecommitdiffstats
path: root/base/observer_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/observer_list.h')
-rw-r--r--base/observer_list.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/base/observer_list.h b/base/observer_list.h
index 0b4c583..10c6775 100644
--- a/base/observer_list.h
+++ b/base/observer_list.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -149,11 +149,9 @@ class ObserverListBase {
}
}
- protected:
- size_t size() const {
- return observers_.size();
- }
+ size_t size() const { return observers_.size(); }
+ protected:
void Compact() {
typename ListType::iterator it = observers_.begin();
while (it != observers_.end()) {