git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #68991 from ivan/chromium-77-font-fix

chromium: add patch to fix performance regression with fonts

commita81f8304d830830f266a0d458ec5b4a8e29916a9 authorGraham Christensen <graham@grahamc.com> dateThu 19 Sep 2019, 18:00 (7 years ago) parentd8e35fd19d730d
1 file changed+7
pkgs/applications/networking/browsers/chromium/common.nix+7
pkgs/applications/networking/browsers/chromium/common.nix+7
@@ -138,6 +138,13 @@ let
138138 ./patches/jumbo-sorted.patch
139139 ./patches/no-build-timestamps.patch
140140 ./patches/widevine.patch
141+ # Revert "Implement GetFallbackFont on Linux" to fix a performance regression
142+ # Remove after https://bugs.chromium.org/p/chromium/issues/detail?id=1003997 is fixed
143+ (fetchpatch {
144+ url = "https://github.com/chromium/chromium/commit/5a32abe4247f80fdb55c55a289b906b0e42faa5f.patch";
145+ sha256 = "1a4jqmki6cyi2dwvaszh01db2diqnz1d50mhpdpby3dd1cw0xmfy";
146+ revert = true;
147+ })
141148
142149 # Unfortunately, chromium regularly breaks on major updates and
143150 # then needs various patches backported in order to be compiled with GCC.