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