mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1031267 - Fix system cairo builds after bug 1027763. r=jwatt,a=kwierso
This commit is contained in:
parent
39270b3677
commit
3ebd9bcf37
@ -452,9 +452,13 @@ DrawTargetCairo::GetType() const
|
||||
case CAIRO_SURFACE_TYPE_RECORDING:
|
||||
case CAIRO_SURFACE_TYPE_DRM:
|
||||
case CAIRO_SURFACE_TYPE_SUBSURFACE:
|
||||
#ifdef CAIRO_HAS_D2D_SURFACE
|
||||
case CAIRO_SURFACE_TYPE_D2D:
|
||||
#endif
|
||||
case CAIRO_SURFACE_TYPE_TEE: // included to silence warning about unhandled enum value
|
||||
return DrawTargetType::SOFTWARE_RASTER;
|
||||
default:
|
||||
MOZ_CRASH("Unsupported cairo surface type");
|
||||
}
|
||||
}
|
||||
MOZ_ASSERT(false, "Could not determine DrawTargetType for DrawTargetCairo");
|
||||
|
Loading…
Reference in New Issue
Block a user