summaryrefslogtreecommitdiff
path: root/experimental/firefox-esr/endian-gfx.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-16 13:46:19 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-16 13:46:19 +0000
commit2fb331fbca471799894bee314a4ded512221f64c (patch)
treea66d9d1123eb04bba729f3dc9ee05828f50ac648 /experimental/firefox-esr/endian-gfx.patch
parentba82ac64e0274b2357b02f7f0f9a50ba1c26f1c8 (diff)
downloadpackages-2fb331fbca471799894bee314a4ded512221f64c.tar.gz
packages-2fb331fbca471799894bee314a4ded512221f64c.tar.bz2
packages-2fb331fbca471799894bee314a4ded512221f64c.tar.xz
packages-2fb331fbca471799894bee314a4ded512221f64c.zip
experimental/firefox-esr: bump to 60.5.0 ESR
Diffstat (limited to 'experimental/firefox-esr/endian-gfx.patch')
-rw-r--r--experimental/firefox-esr/endian-gfx.patch11
1 files changed, 3 insertions, 8 deletions
diff --git a/experimental/firefox-esr/endian-gfx.patch b/experimental/firefox-esr/endian-gfx.patch
index ec81a9cee..ca92bf830 100644
--- a/experimental/firefox-esr/endian-gfx.patch
+++ b/experimental/firefox-esr/endian-gfx.patch
@@ -10,12 +10,10 @@ CLOSED TREE
diff --git a/gfx/2d/Swizzle.cpp b/gfx/2d/Swizzle.cpp
--- a/gfx/2d/Swizzle.cpp
+++ b/gfx/2d/Swizzle.cpp
-@@ -82,17 +82,17 @@ AlphaByteIndex(SurfaceFormat aFormat)
+@@ -75,13 +75,13 @@ AlphaByteIndex(SurfaceFormat aFormat)
// The endian-dependent bit shift to access RGB of a UINT32 pixel.
- static constexpr uint32_t
- RGBBitShift(SurfaceFormat aFormat)
- {
+ static constexpr uint32_t RGBBitShift(SurfaceFormat aFormat) {
#if MOZ_LITTLE_ENDIAN
return 8 * RGBByteIndex(aFormat);
#else
@@ -25,8 +23,5 @@ diff --git a/gfx/2d/Swizzle.cpp b/gfx/2d/Swizzle.cpp
}
// The endian-dependent bit shift to access alpha of a UINT32 pixel.
- static constexpr uint32_t
- AlphaBitShift(SurfaceFormat aFormat)
- {
+ static constexpr uint32_t AlphaBitShift(SurfaceFormat aFormat) {
return (RGBBitShift(aFormat) + 24) % 32;
-