Commit 2636d855 authored by Dominik Röttsches's avatar Dominik Röttsches Committed by Commit Bot

Disable FontSrcLocalMatching on Windows

The Windows 7 bot does currently not efficiently cache the font lookup
table for layout tests because a cache directory is not
configured. Also, Win7 layout tests failed with DCHECKs when a path was
not configured. Disable FontSrcLocalMatching on Windows until this is
properly addressed.

Bug: 996027, 996167
Change-Id: Iaa21ab1a32cda73d8f7e3a2e6bd803c132105781
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1778491Reviewed-by: default avatarKen Rockot <rockot@google.com>
Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Auto-Submit: Dominik Röttsches <drott@chromium.org>
Commit-Queue: Dominik Röttsches <drott@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692192}
parent d526f1e0
...@@ -148,8 +148,15 @@ const base::Feature kFeaturePolicyForSandbox{"FeaturePolicyForSandbox", ...@@ -148,8 +148,15 @@ const base::Feature kFeaturePolicyForSandbox{"FeaturePolicyForSandbox",
// Enables fixes for matching src: local() for web fonts correctly against full // Enables fixes for matching src: local() for web fonts correctly against full
// font name or postscript name. Rolling out behind a flag, as enabling this // font name or postscript name. Rolling out behind a flag, as enabling this
// enables a font indexer on Android which we need to test in the field first. // enables a font indexer on Android which we need to test in the field first.
// TODO(https://crbug.com/996027): Re-enable this on Windows once Windows 7
// DWRiteFontLookupTableBuilder stability is fixed.
#if !defined(OS_WIN)
const base::Feature kFontSrcLocalMatching{"FontSrcLocalMatching", const base::Feature kFontSrcLocalMatching{"FontSrcLocalMatching",
base::FEATURE_ENABLED_BY_DEFAULT}; base::FEATURE_ENABLED_BY_DEFAULT};
#else
const base::Feature kFontSrcLocalMatching{"FontSrcLocalMatching",
base::FEATURE_DISABLED_BY_DEFAULT};
#endif
// Enables scrollers inside Blink to store scroll offsets in fractional // Enables scrollers inside Blink to store scroll offsets in fractional
// floating-point numbers rather than truncating to integers. // floating-point numbers rather than truncating to integers.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment