Blame SOURCES/mozilla-bmo1602730.patch
|
|
83ba88 |
diff -r 6ef20eee3f8f gfx/layers/basic/BasicCompositor.cpp
|
|
|
83ba88 |
--- a/gfx/layers/basic/BasicCompositor.cpp Thu Oct 31 09:11:56 2019 +0100
|
|
|
83ba88 |
+++ b/gfx/layers/basic/BasicCompositor.cpp Wed Dec 11 16:16:09 2019 +0100
|
|
|
83ba88 |
@@ -693,9 +693,13 @@
|
|
|
83ba88 |
|
|
|
83ba88 |
RefPtr<SourceSurface> sourceMask;
|
|
|
83ba88 |
Matrix maskTransform;
|
|
|
83ba88 |
+ // Setting an alpha-mask here breaks the URL-bar on big endian (s390x)
|
|
|
83ba88 |
+ // if the typed URL is too long for the textbox (automatic scrolling needed)
|
|
|
83ba88 |
+#if MOZ_LITTLE_ENDIAN
|
|
|
83ba88 |
if (aTransform.Is2D()) {
|
|
|
83ba88 |
SetupMask(aEffectChain, dest, offset, sourceMask, maskTransform);
|
|
|
83ba88 |
}
|
|
|
83ba88 |
+#endif
|
|
|
83ba88 |
|
|
|
83ba88 |
CompositionOp blendMode = CompositionOp::OP_OVER;
|
|
|
83ba88 |
if (Effect* effect =
|
|
|
83ba88 |
diff -r 6ef20eee3f8f gfx/layers/composite/CompositableHost.cpp
|
|
|
83ba88 |
--- a/gfx/layers/composite/CompositableHost.cpp Thu Oct 31 09:11:56 2019 +0100
|
|
|
83ba88 |
+++ b/gfx/layers/composite/CompositableHost.cpp Wed Dec 11 16:16:09 2019 +0100
|
|
|
83ba88 |
@@ -91,6 +91,7 @@
|
|
|
83ba88 |
}
|
|
|
83ba88 |
MOZ_ASSERT(source);
|
|
|
83ba88 |
|
|
|
83ba88 |
+ // Alternatively: Comment out these lines where the alpha-mask is set
|
|
|
83ba88 |
RefPtr<EffectMask> effect =
|
|
|
83ba88 |
new EffectMask(source, source->GetSize(), aTransform);
|
|
|
83ba88 |
aEffects.mSecondaryEffects[EffectTypes::MASK] = effect;
|