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

Unified Diff: components/exo/surface.cc

Issue 2833163002: Change ui cursor identifiers to an enum class. (Closed)
Patch Set: Remove extranious ::ui:: Created 3 years, 8 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 7b57ba82cb517c29d46c0592fe9d15a6e64ffc4f..cc52f68c53a1dc1347e91574c8efe31c0dbe89de 100644
--- a/components/exo/surface.cc
+++ b/components/exo/surface.cc
@@ -571,10 +571,10 @@ gfx::NativeCursor Surface::GetCursor() {
// important. Return the first non-null cursor.
for (auto* cursor_provider : cursor_providers_) {
gfx::NativeCursor cursor = cursor_provider->GetCursor();
- if (cursor != ui::kCursorNull)
+ if (cursor != ui::CursorType::CURSOR_NULL)
return cursor;
}
- return ui::kCursorNull;
+ return ui::CursorType::CURSOR_NULL;
}
void Surface::SetSurfaceDelegate(SurfaceDelegate* delegate) {

Powered by Google App Engine
This is Rietveld 408576698