| Index: content/ppapi_plugin/ppapi_thread.cc
|
| diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
|
| index 907b12b0f5cdb6011e51969a429a0275aecbb18c..8eeef99248f4ed7da2eaa4695564ba44fc93b5e3 100644
|
| --- a/content/ppapi_plugin/ppapi_thread.cc
|
| +++ b/content/ppapi_plugin/ppapi_thread.cc
|
| @@ -52,6 +52,7 @@
|
| #if defined(OS_WIN)
|
| #include "base/win/win_util.h"
|
| #include "base/win/windows_version.h"
|
| +#include "content/common/font_warmup_win.h"
|
| #include "sandbox/win/src/sandbox.h"
|
| #elif defined(OS_MACOSX)
|
| #include "content/common/sandbox_init_mac.h"
|
| @@ -446,6 +447,11 @@ void PpapiThread::OnLoadPlugin(const base::FilePath& path,
|
|
|
| WarmupWindowsLocales(permissions);
|
|
|
| + if (IsWin32kLockdownEnabled() &&
|
| + permissions.HasPermission(ppapi::PERMISSION_FLASH)) {
|
| + PatchGdiFontEnumeration(path);
|
| + }
|
| +
|
| g_target_services->LowerToken();
|
| }
|
| #endif
|
|
|