| Index: content/common/sandbox_win.cc
|
| diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
|
| index 29fb55713db92c563a4ca2a723682e108769efdf..6a2b3d78d2e245abf5413adccb8ef9d5abf2d6f9 100644
|
| --- a/content/common/sandbox_win.cc
|
| +++ b/content/common/sandbox_win.cc
|
| @@ -703,6 +703,11 @@ base::Process StartSandboxedProcess(
|
| sandbox::MITIGATION_NONSYSTEM_FONT_DISABLE |
|
| sandbox::MITIGATION_IMAGE_LOAD_NO_REMOTE |
|
| sandbox::MITIGATION_IMAGE_LOAD_NO_LOW_LABEL;
|
| +#if !defined(NACL_WIN64)
|
| + // Don't block font loading with GDI.
|
| + if (!gfx::win::ShouldUseDirectWrite())
|
| + mitigations ^= sandbox::MITIGATION_NONSYSTEM_FONT_DISABLE;
|
| +#endif
|
|
|
| if (policy->SetProcessMitigations(mitigations) != sandbox::SBOX_ALL_OK)
|
| return base::Process();
|
|
|