| Index: ui/base/x/x11_util.cc
|
| diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc
|
| index 43bb7d7d610769b89672e5426115a09d5d6e6231..dbb489fa84c800f3d2738e22514e997be6d4c666 100644
|
| --- a/ui/base/x/x11_util.cc
|
| +++ b/ui/base/x/x11_util.cc
|
| @@ -288,7 +288,9 @@ void UnrefCustomXCursor(::Cursor cursor) {
|
|
|
| XcursorImage* SkBitmapToXcursorImage(const SkBitmap* cursor_image,
|
| const gfx::Point& hotspot) {
|
| - DCHECK(cursor_image->colorType() == kN32_SkColorType);
|
| + // TODO(crbug.com/596782): It is possible for cursor_image to be zeroed out
|
| + // at this point, which leads to benign debug errors. Once this is fixed, we
|
| + // should DCHECK_EQ(cursor_image->colorType(), kN32_SkColorType).
|
| gfx::Point hotspot_point = hotspot;
|
| SkBitmap scaled;
|
|
|
|
|