0

Enable WinPdfUseFontProxy by default in M129

Make WinPdfUseFontProxy on by default in M129. A flag
(pdf-win-use-font-proxy) exists for users to toggle this
until it is removed.

Bug: 344643689
Change-Id: I8accdf7eba2c3ac0bf2a5dbfddb597afe2647066
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5754127
Commit-Queue: Alex Gough <ajgo@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1335817}
This commit is contained in:
Alex Gough
2024-08-01 01:52:23 +00:00
committed by Chromium LUCI CQ
parent 7dd95eabd1
commit d6e4278aaf

@ -49,9 +49,10 @@ BASE_FEATURE(kPdfInk2, "PdfInk2", base::FEATURE_DISABLED_BY_DEFAULT);
#if BUILDFLAG(IS_WIN)
// On Windows - if enabled uses Skia to load system fonts, otherwise uses direct
// file system access that must be brokered by the sandbox.
// TODO(crbug.com/344643689) remove after M129.
BASE_FEATURE(kWinPdfUseFontProxy,
"WinPdfUseFontProxy",
base::FEATURE_DISABLED_BY_DEFAULT);
base::FEATURE_ENABLED_BY_DEFAULT);
#endif
void SetIsOopifPdfPolicyEnabled(bool is_oopif_pdf_policy_enabled) {