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

Unified Diff: components/bubble/bubble_manager.cc

Issue 2110663002: components: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+one fix Created 4 years, 5 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
Index: components/bubble/bubble_manager.cc
diff --git a/components/bubble/bubble_manager.cc b/components/bubble/bubble_manager.cc
index a4b48351a06c1f1f7770258c2786b44fc092a75a..dc94dc25fb76ab99ef7989b32248c7e8eb6f4221 100644
--- a/components/bubble/bubble_manager.cc
+++ b/components/bubble/bubble_manager.cc
@@ -67,7 +67,7 @@ void BubbleManager::UpdateAllBubbleAnchors() {
// Guard against bubbles being added or removed while iterating the bubbles.
ManagerState original_state = manager_state_;
manager_state_ = ITERATING_BUBBLES;
- for (auto controller : controllers_)
+ for (auto* controller : controllers_)
controller->UpdateAnchorPosition();
manager_state_ = original_state;
}
@@ -122,7 +122,7 @@ bool BubbleManager::CloseAllMatchingBubbles(
}
manager_state_ = original_state;
- for (auto controller : close_queue) {
+ for (auto* controller : close_queue) {
controller->DoClose(reason);
FOR_EACH_OBSERVER(BubbleManagerObserver, observers_,
« no previous file with comments | « components/bookmarks/managed/managed_bookmark_service.cc ('k') | components/certificate_transparency/log_dns_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698