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

Unified Diff: components/exo/surface.cc

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: 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
Index: components/exo/surface.cc
diff --git a/components/exo/surface.cc b/components/exo/surface.cc
index 85cca33656c94491921fd9d2c5b03f8914b67a7e..28f6636facee222567932c5796d1ad940e692634 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;

Powered by Google App Engine
This is Rietveld 408576698