Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3075)

Unified Diff: ash/shelf/scoped_observer_with_duplicated_sources.h

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shelf/overflow_bubble_view.cc ('k') | ash/shelf/scoped_observer_with_duplicated_sources_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « ash/shelf/overflow_bubble_view.cc ('k') | ash/shelf/scoped_observer_with_duplicated_sources_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698