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

Unified Diff: ui/base/cursor/cursor_loader_x11.cc

Issue 2949353003: Implement large cursors in Mushrome. (Closed)
Patch Set: rename everything to CursorSize Created 3 years, 6 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 | « ui/base/cursor/cursor.h ('k') | ui/base/cursor/cursor_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cursor/cursor_loader_x11.cc
diff --git a/ui/base/cursor/cursor_loader_x11.cc b/ui/base/cursor/cursor_loader_x11.cc
index 5e12a17d9e7f555949f475a332a099319a37f3fb..e464b78cee15cbc61a819eeffc4fc35f7cb57da7 100644
--- a/ui/base/cursor/cursor_loader_x11.cc
+++ b/ui/base/cursor/cursor_loader_x11.cc
@@ -346,7 +346,7 @@ bool CursorLoaderX11::IsImageCursor(gfx::NativeCursor native_cursor) {
// fallback icon.
int resource_id;
gfx::Point point;
- if (ui::GetCursorDataFor(ui::CURSOR_SET_NORMAL, id, scale(), &resource_id,
+ if (ui::GetCursorDataFor(ui::CursorSize::kNormal, id, scale(), &resource_id,
&point)) {
LoadImageCursor(id, resource_id, point);
return image_cursors_[id]->cursor;
« no previous file with comments | « ui/base/cursor/cursor.h ('k') | ui/base/cursor/cursor_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698