| Index: content/ppapi_plugin/ppapi_thread.cc
|
| diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
|
| index 6b2dc122a0ede2a332736be5f645593cfd8f701b..a5382cc013d81512d4cd3cfe528857b9fffc866e 100644
|
| --- a/content/ppapi_plugin/ppapi_thread.cc
|
| +++ b/content/ppapi_plugin/ppapi_thread.cc
|
| @@ -51,6 +51,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"
|
| @@ -404,6 +405,11 @@ void PpapiThread::OnLoadPlugin(const base::FilePath& path,
|
|
|
| WarmupWindowsLocales(permissions);
|
|
|
| + if (!base::win::IsUser32AndGdi32Available() &&
|
| + permissions.HasPermission(ppapi::PERMISSION_FLASH)) {
|
| + PatchGdiFontEnumeration(path);
|
| + }
|
| +
|
| g_target_services->LowerToken();
|
| }
|
| #endif
|
|
|