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

Unified Diff: components/exo/surface.cc

Issue 2833163002: Change ui cursor identifiers to an enum class. (Closed)
Patch Set: OK, it can't be explicit for mac. 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
« no previous file with comments | « components/exo/surface.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.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 7b57ba82cb517c29d46c0592fe9d15a6e64ffc4f..f186ef93706b6d14d465c063e53e4b9035a3b029 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::kNull)
return cursor;
}
- return ui::kCursorNull;
+ return ui::CursorType::kNull;
}
void Surface::SetSurfaceDelegate(SurfaceDelegate* delegate) {
« no previous file with comments | « components/exo/surface.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698