Index: ui/ozone/platform/drm/host/drm_cursor.cc |
diff --git a/ui/ozone/platform/drm/host/drm_cursor.cc b/ui/ozone/platform/drm/host/drm_cursor.cc |
index b3acdc477e80a3e5807ddbf12f552e1ad3c01cec..6ee48c8cfa06983c58c90ce306658022b96d6ac9 100644 |
--- a/ui/ozone/platform/drm/host/drm_cursor.cc |
+++ b/ui/ozone/platform/drm/host/drm_cursor.cc |
@@ -197,7 +197,7 @@ void DrmCursor::MoveCursor(const gfx::Vector2dF& delta) { |
bool DrmCursor::IsCursorVisible() { |
base::AutoLock lock(lock_); |
- return bitmap_; |
+ return static_cast<bool>(bitmap_); |
} |
gfx::PointF DrmCursor::GetLocation() { |