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