mozilla-bmo1602730.patch
changeset 1136 d068eb84b4d3
equal deleted inserted replaced
1135:082b9d2dfd7d 1136:d068eb84b4d3
       
     1 # HG changeset patch
       
     2 # User msirringhaus@suse.de
       
     3 # Date 1582805890 -3600
       
     4 #      Thu Feb 27 13:18:10 2020 +0100
       
     5 # Node ID 457cbe5705f2a3759d3da36a05c0ed66ec61ea12
       
     6 # Parent  7440f4b6bab85068ca2f84e9c48e0706d04330e8
       
     7 imported patch mozilla-bmo1602730-FF73.patch
       
     8 
       
     9 diff -r 7440f4b6bab8 gfx/layers/composite/CompositableHost.cpp
       
    10 --- a/gfx/layers/composite/CompositableHost.cpp	Thu Feb 27 13:17:56 2020 +0100
       
    11 +++ b/gfx/layers/composite/CompositableHost.cpp	Wed Jun 17 15:33:32 2020 +0200
       
    12 @@ -92,9 +92,13 @@
       
    13    }
       
    14    MOZ_ASSERT(source);
       
    15  
       
    16 +  // Setting an alpha-mask here breaks the URL-bar on big endian (s390x)
       
    17 +  // if the typed URL is too long for the textbox (automatic scrolling needed)
       
    18 +#if MOZ_LITTLE_ENDIAN()
       
    19    RefPtr<EffectMask> effect =
       
    20        new EffectMask(source, source->GetSize(), aTransform);
       
    21    aEffects.mSecondaryEffects[EffectTypes::MASK] = effect;
       
    22 +#endif
       
    23    return true;
       
    24  }
       
    25