git.iko.soy/typeable/nixpkgs
on master help sign in
chromium: add patch to fix performance regression with fonts

This reverts a commit to fix a serious performance regression introduced in Chromium 77: https://bugs.chromium.org/p/chromium/issues/detail?id=1003997

commit19d730df8560797473c923bfe371de4bb203338a authorIvan Kozik <ivan@ludios.org> dateTue 17 Sep 2019, 23:31 (7 years ago) parent1bc7fae
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.