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