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

Unified Diff: ash/mus/layout_manager.cc

Issue 2110643002: ash: Change auto to not deduce raw pointers. (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/host/ash_window_tree_host_unified.cc ('k') | ash/mus/user_window_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/layout_manager.cc
diff --git a/ash/mus/layout_manager.cc b/ash/mus/layout_manager.cc
index 41e1cd811c82bdf209c16cdeccce576a8094a346..ee23f769e10e222eb0849534797d06f550d9d33f 100644
--- a/ash/mus/layout_manager.cc
+++ b/ash/mus/layout_manager.cc
@@ -26,7 +26,7 @@ void LayoutManager::Uninstall() {
if (!owner_)
return;
owner_->RemoveObserver(this);
- for (auto child : owner_->children())
+ for (auto* child : owner_->children())
child->RemoveObserver(this);
owner_ = nullptr;
}
@@ -58,7 +58,7 @@ void LayoutManager::OnWindowBoundsChanged(::mus::Window* window,
return;
// Changes to the container's bounds require all windows to be laid out.
- for (auto child : window->children())
+ for (auto* child : window->children())
LayoutWindow(child);
}
« no previous file with comments | « ash/host/ash_window_tree_host_unified.cc ('k') | ash/mus/user_window_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698