f9af33
diff -up firefox-52.0b8/gfx/2d/HelpersCairo.h.old firefox-52.0b8/gfx/2d/HelpersCairo.h
f9af33
--- firefox-52.0b8/gfx/2d/HelpersCairo.h.old	2017-03-02 09:23:01.230766731 -0500
f9af33
+++ firefox-52.0b8/gfx/2d/HelpersCairo.h	2017-03-02 09:23:49.711930251 -0500
f9af33
@@ -239,9 +239,9 @@ CairoFormatToGfxFormat(cairo_format_t fo
f9af33
 {
f9af33
   switch (format) {
f9af33
     case CAIRO_FORMAT_ARGB32:
f9af33
-      return SurfaceFormat::A8R8G8B8_UINT32;
f9af33
+      return SurfaceFormat::B8G8R8A8;
f9af33
     case CAIRO_FORMAT_RGB24:
f9af33
-      return SurfaceFormat::X8R8G8B8_UINT32;
f9af33
+      return SurfaceFormat::B8G8R8X8;
f9af33
     case CAIRO_FORMAT_A8:
f9af33
       return SurfaceFormat::A8;
f9af33
     case CAIRO_FORMAT_RGB16_565: