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