mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Backed out changeset 1ba19d1f07da (bug 1292628) for failing to create surface in reftests on Windows 7 VM. r=backout
This commit is contained in:
parent
3c832018ee
commit
f1445a15e2
@ -731,8 +731,7 @@ DrawTargetCairo::LockBits(uint8_t** aData, IntSize* aSize,
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (cairo_surface_get_type(surf) == CAIRO_SURFACE_TYPE_IMAGE &&
|
||||
cairo_surface_status(surf) == CAIRO_STATUS_SUCCESS) {
|
||||
if (cairo_surface_get_type(surf) == CAIRO_SURFACE_TYPE_IMAGE) {
|
||||
PointDouble offset;
|
||||
cairo_surface_get_device_offset(target, &offset.x, &offset.y);
|
||||
// verify the device offset can be converted to integers suitable for a bounds rect
|
||||
|
Loading…
Reference in New Issue
Block a user