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