author Nicholas Nethercote <nnethercote@mozilla.com>
Mon, 28 Sep 2015 21:11:52 -0700
changeset 302316 feb0f7522ece30fdcc264ccb8df5e580c4f27a07
parent 301908 cef12730e4325a508546c0117f0886edf4a8fd3f
child 303801 f49958b5e95abb018e48c2b78e82ce07e8d1c0c6
permissions -rw-r--r--
Bug 1209812 (part 1) - Remove casts between cairo_format_t and gfxImageFormat. r=nical. cairo_format_t and gfxImageFormat have their equivalent constants in the same order, so you can just cast between them, which is kind of nasty. This patch replaces all such casts with explicit conversions via calls to new conversion functions. These functions will be removed in a subsequent patch.