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

Unified Diff: ui/ozone/platform/dri/cursor_factory_evdev_dri.cc

Issue 292563002: ozone: dri: Remove default cursor set (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/cursor_factory_evdev_dri.cc
diff --git a/ui/ozone/platform/dri/cursor_factory_evdev_dri.cc b/ui/ozone/platform/dri/cursor_factory_evdev_dri.cc
index 273dd1ae0c271db0c69479561e396b37d055c945..d03aac1e53c612fcb6f5e1d2ee163ad7197a4b2b 100644
--- a/ui/ozone/platform/dri/cursor_factory_evdev_dri.cc
+++ b/ui/ozone/platform/dri/cursor_factory_evdev_dri.cc
@@ -15,11 +15,6 @@ CursorFactoryEvdevDri::CursorFactoryEvdevDri(DriSurfaceFactory* dri)
// widgets initialized.
cursor_window_ = DriSurfaceFactory::kDefaultWidgetHandle;
cursor_location_ = gfx::PointF(2560 / 2, 1700 / 2); // TODO(spang): Argh!
-
- // The DRI cursor is invisible unless explicitly set. Therefore, set the
- // pointer cursor on initialization.
- // TODO(spang): Move this to DRI window initialization.
- SetCursor(cursor_window_, GetDefaultCursor(kCursorPointer));
}
CursorFactoryEvdevDri::~CursorFactoryEvdevDri() {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698