| Index: base/callback_list.h
|
| diff --git a/base/callback_list.h b/base/callback_list.h
|
| index cb44c2526c99d63ae5971a20686b083fac0f9a53..d12a1e95baa6bd44a704ba9687c6784e4725ad1f 100644
|
| --- a/base/callback_list.h
|
| +++ b/base/callback_list.h
|
| @@ -105,7 +105,7 @@ class CallbackListBase {
|
| // Add a callback to the list. The callback will remain registered until the
|
| // returned Subscription is destroyed, which must occur before the
|
| // CallbackList is destroyed.
|
| - scoped_ptr<Subscription> Add(const CallbackType& cb) {
|
| + scoped_ptr<Subscription> Add(const CallbackType& cb) WARN_UNUSED_RESULT {
|
| DCHECK(!cb.is_null());
|
| return scoped_ptr<Subscription>(
|
| new Subscription(this, callbacks_.insert(callbacks_.end(), cb)));
|
|
|