3262b1
# HG changeset patch
3262b1
# User msirringhaus@suse.de
3262b1
# Date 1583738770 -3600
3262b1
#      Mon Mar 09 08:26:10 2020 +0100
3262b1
# Node ID 34676feac1a542e409e22acf5b98735f8313b1ce
3262b1
# Parent  506857dace0a08d1c9685e3ac264646590b3e27f
3262b1
[mq]: mozilla-bmo998749.patch
3262b1
3262b1
diff -r 506857dace0a -r 34676feac1a5 gfx/2d/FilterProcessing.h
3262b1
--- a/gfx/2d/FilterProcessing.h	Fri Feb 28 12:31:51 2020 +0100
3262b1
+++ b/gfx/2d/FilterProcessing.h	Mon Mar 09 08:26:10 2020 +0100
3262b1
@@ -13,10 +13,17 @@
3262b1
 namespace mozilla {
3262b1
 namespace gfx {
3262b1
 
3262b1
+#if MOZ_BIG_ENDIAN()
3262b1
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_B = 3;
3262b1
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_G = 2;
3262b1
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_R = 1;
3262b1
+const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_A = 0;
3262b1
+#else
3262b1
 const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_B = 0;
3262b1
 const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_G = 1;
3262b1
 const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_R = 2;
3262b1
 const ptrdiff_t B8G8R8A8_COMPONENT_BYTEOFFSET_A = 3;
3262b1
+#endif
3262b1
 
3262b1
 class FilterProcessing {
3262b1
  public: