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

Unified Diff: services/ui/ws/window_tree.cc

Issue 2175243004: services/{ui,shell}: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update 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
« no previous file with comments | « services/ui/ws/modal_window_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree.cc
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
index 0206327b3029fe4a72b98b55812605d6bcc98571..988be1f9006bad870fec2f66b6c8aed4ead25a7f 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -1185,7 +1185,7 @@ void WindowTree::SetEventObserver(mojom::EventMatcherPtr matcher,
};
if (matcher->type_matcher) {
- auto iter =
+ auto* iter =
std::find(std::begin(event_type_whitelist),
std::end(event_type_whitelist), matcher->type_matcher->type);
if (iter == std::end(event_type_whitelist)) {
« no previous file with comments | « services/ui/ws/modal_window_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698