| Index: ash/shelf/scoped_observer_with_duplicated_sources.h
|
| diff --git a/ash/shelf/scoped_observer_with_duplicated_sources.h b/ash/shelf/scoped_observer_with_duplicated_sources.h
|
| index f3ece1e5c05b337d7fbbaf0f240cadd55b7e6836..d76650020ae747b70d976d3211db8d12c84054fd 100644
|
| --- a/ash/shelf/scoped_observer_with_duplicated_sources.h
|
| +++ b/ash/shelf/scoped_observer_with_duplicated_sources.h
|
| @@ -42,8 +42,7 @@ class ScopedObserverWithDuplicatedSources {
|
| // Only remove the object passed to the constructor as an observer from
|
| // |source| when Remove() is invoked the same number of times as Add().
|
| void Remove(Source* source) {
|
| - typename SourceToAddCountMap::iterator iter =
|
| - counted_sources_.find(source);
|
| + typename SourceToAddCountMap::iterator iter = counted_sources_.find(source);
|
| DCHECK(iter != counted_sources_.end() && iter->second > 0);
|
|
|
| if (--iter->second == 0) {
|
|
|