10afcc
diff -up firefox-60.0/gfx/skia/skia/include/core/SkColorPriv.h.big-endian firefox-60.0/gfx/skia/skia/include/core/SkColorPriv.h
10afcc
--- firefox-60.0/gfx/skia/skia/include/core/SkColorPriv.h.big-endian	2018-04-09 22:50:48.000000000 +0200
10afcc
+++ firefox-60.0/gfx/skia/skia/include/core/SkColorPriv.h	2018-04-18 11:51:38.748680174 +0200
10afcc
@@ -54,18 +54,19 @@ static inline U8CPU SkUnitScalarClampToB
10afcc
  *
10afcc
  *  Here we enforce this constraint.
10afcc
  */
10afcc
-
10afcc
+/*
10afcc
 #ifdef SK_CPU_BENDIAN
10afcc
     #define SK_RGBA_R32_SHIFT   24
10afcc
     #define SK_RGBA_G32_SHIFT   16
10afcc
     #define SK_RGBA_B32_SHIFT   8
10afcc
     #define SK_RGBA_A32_SHIFT   0
10afcc
 #else
10afcc
+*/
10afcc
     #define SK_RGBA_R32_SHIFT   0
10afcc
     #define SK_RGBA_G32_SHIFT   8
10afcc
     #define SK_RGBA_B32_SHIFT   16
10afcc
     #define SK_RGBA_A32_SHIFT   24
10afcc
-#endif
10afcc
+/*#endif*/
10afcc
 
10afcc
 #define SkGetPackedA32(packed)      ((uint32_t)((packed) << (24 - SK_A32_SHIFT)) >> 24)
10afcc
 #define SkGetPackedR32(packed)      ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24)
10afcc
diff -up firefox-60.0/gfx/skia/skia/include/core/SkImageInfo.h.big-endian firefox-60.0/gfx/skia/skia/include/core/SkImageInfo.h
10afcc
--- firefox-60.0/gfx/skia/skia/include/core/SkImageInfo.h.big-endian	2018-04-09 22:50:48.000000000 +0200
10afcc
+++ firefox-60.0/gfx/skia/skia/include/core/SkImageInfo.h	2018-04-18 11:51:38.748680174 +0200
10afcc
@@ -84,7 +84,8 @@ enum SkColorType {
10afcc
 #elif SK_PMCOLOR_BYTE_ORDER(R,G,B,A)
10afcc
     kN32_SkColorType = kRGBA_8888_SkColorType,
10afcc
 #else
10afcc
-    #error "SK_*32_SHIFT values must correspond to BGRA or RGBA byte order"
10afcc
+    //#error "SK_*32_SHIFT values must correspond to BGRA or RGBA byte order"
10afcc
+    kN32_SkColorType = kBGRA_8888_SkColorType
10afcc
 #endif
10afcc
 };
10afcc
 
10afcc
diff -up firefox-60.0/gfx/skia/skia/include/gpu/GrTypes.h.big-endian firefox-60.0/gfx/skia/skia/include/gpu/GrTypes.h
10afcc
--- firefox-60.0/gfx/skia/skia/include/gpu/GrTypes.h.big-endian	2018-04-09 22:50:48.000000000 +0200
10afcc
+++ firefox-60.0/gfx/skia/skia/include/gpu/GrTypes.h	2018-04-18 11:51:38.748680174 +0200
10afcc
@@ -344,15 +344,13 @@ enum GrPixelConfig {
10afcc
 static const int kGrPixelConfigCnt = kLast_GrPixelConfig + 1;
10afcc
 
10afcc
 // Aliases for pixel configs that match skia's byte order.
10afcc
-#ifndef SK_CPU_LENDIAN
10afcc
-    #error "Skia gpu currently assumes little endian"
10afcc
-#endif
10afcc
 #if SK_PMCOLOR_BYTE_ORDER(B,G,R,A)
10afcc
     static const GrPixelConfig kSkia8888_GrPixelConfig = kBGRA_8888_GrPixelConfig;
10afcc
 #elif SK_PMCOLOR_BYTE_ORDER(R,G,B,A)
10afcc
     static const GrPixelConfig kSkia8888_GrPixelConfig = kRGBA_8888_GrPixelConfig;
10afcc
 #else
10afcc
-    #error "SK_*32_SHIFT values must correspond to GL_BGRA or GL_RGBA format."
10afcc
+    static const GrPixelConfig kSkia8888_GrPixelConfig = kBGRA_8888_GrPixelConfig;
10afcc
+    static const GrPixelConfig kSkiaGamma8888_GrPixelConfig = kSBGRA_8888_GrPixelConfig;
10afcc
 #endif
10afcc
 
10afcc
 /**
10afcc
diff -up firefox-60.0/gfx/skia/skia/src/core/SkColorData.h.big-endian firefox-60.0/gfx/skia/skia/src/core/SkColorData.h
10afcc
--- firefox-60.0/gfx/skia/skia/src/core/SkColorData.h.big-endian	2018-04-18 13:42:06.980476156 +0200
10afcc
+++ firefox-60.0/gfx/skia/skia/src/core/SkColorData.h	2018-04-18 13:42:50.493520552 +0200
10afcc
@@ -31,18 +31,19 @@
10afcc
  *
10afcc
  *  Here we enforce this constraint.
10afcc
  */
10afcc
-
10afcc
+/*
10afcc
 #ifdef SK_CPU_BENDIAN
10afcc
     #define SK_BGRA_B32_SHIFT   24
10afcc
     #define SK_BGRA_G32_SHIFT   16
10afcc
     #define SK_BGRA_R32_SHIFT   8
10afcc
     #define SK_BGRA_A32_SHIFT   0
10afcc
 #else
10afcc
+*/
10afcc
     #define SK_BGRA_B32_SHIFT   0
10afcc
     #define SK_BGRA_G32_SHIFT   8
10afcc
     #define SK_BGRA_R32_SHIFT   16
10afcc
     #define SK_BGRA_A32_SHIFT   24
10afcc
-#endif
10afcc
+//#endif
10afcc
 
10afcc
 #if defined(SK_PMCOLOR_IS_RGBA) && defined(SK_PMCOLOR_IS_BGRA)
10afcc
     #error "can't define PMCOLOR to be RGBA and BGRA"