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