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

Unified Diff: components/exo/surface.cc

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase Created 3 years, 10 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 | « components/exo/shell_surface.cc ('k') | components/metrics/leak_detector/protobuf_to_mojo_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/surface.cc
diff --git a/components/exo/surface.cc b/components/exo/surface.cc
index a1b92dafc9eed8f46378abcbf647023935eadfe6..b3ef1ceaf031ff619365b001cc6500bba735e633 100644
--- a/components/exo/surface.cc
+++ b/components/exo/surface.cc
@@ -562,7 +562,7 @@ void Surface::UnregisterCursorProvider(Pointer* provider) {
gfx::NativeCursor Surface::GetCursor() {
// What cursor we display when we have multiple cursor providers is not
// important. Return the first non-null cursor.
- for (const auto& cursor_provider : cursor_providers_) {
+ for (auto* cursor_provider : cursor_providers_) {
gfx::NativeCursor cursor = cursor_provider->GetCursor();
if (cursor != ui::kCursorNull)
return cursor;
« no previous file with comments | « components/exo/shell_surface.cc ('k') | components/metrics/leak_detector/protobuf_to_mojo_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698