mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
Bug 1117338 - Blow up if we can't convert a cairo format to a gfx one r=milan
This commit is contained in:
parent
47ca1c6198
commit
b0021dc8e1
@ -229,8 +229,7 @@ CairoFormatToGfxFormat(cairo_format_t format)
|
||||
case CAIRO_FORMAT_RGB16_565:
|
||||
return SurfaceFormat::R5G6B5;
|
||||
default:
|
||||
gfxWarning() << "Unknown cairo format";
|
||||
MOZ_ASSERT(false, "Unknown cairo format");
|
||||
gfxCriticalError() << "Unknown cairo format " << format;
|
||||
return SurfaceFormat::UNKNOWN;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user