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

Unified Diff: ash/host/ash_window_tree_host_unified.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/display/display_util.cc ('k') | ash/mus/layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_unified.cc
diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc
index 7f6869b498b7162c232a92eda26c8eac6b0c7daf..4e281f99e55c4239893adba6397f41451d338f85 100644
--- a/ash/host/ash_window_tree_host_unified.cc
+++ b/ash/host/ash_window_tree_host_unified.cc
@@ -63,7 +63,7 @@ AshWindowTreeHostUnified::~AshWindowTreeHostUnified() {
void AshWindowTreeHostUnified::PrepareForShutdown() {
AshWindowTreeHostPlatform::PrepareForShutdown();
- for (auto host : mirroring_hosts_)
+ for (auto* host : mirroring_hosts_)
host->PrepareForShutdown();
}
@@ -84,12 +84,12 @@ void AshWindowTreeHostUnified::SetBounds(const gfx::Rect& bounds) {
}
void AshWindowTreeHostUnified::SetCursorNative(gfx::NativeCursor cursor) {
- for (auto host : mirroring_hosts_)
+ for (auto* host : mirroring_hosts_)
host->AsWindowTreeHost()->SetCursor(cursor);
}
void AshWindowTreeHostUnified::OnCursorVisibilityChangedNative(bool show) {
- for (auto host : mirroring_hosts_)
+ for (auto* host : mirroring_hosts_)
host->AsWindowTreeHost()->OnCursorVisibilityChanged(show);
}
« no previous file with comments | « ash/display/display_util.cc ('k') | ash/mus/layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698