| Index: content/common/sandbox_win.cc
|
| diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
|
| index a3c26e1267e0dd17822ea7a9058f88781230f669..edb2c94ca910d27b554f3a7f988f1b603c6535e0 100644
|
| --- a/content/common/sandbox_win.cc
|
| +++ b/content/common/sandbox_win.cc
|
| @@ -708,8 +708,9 @@ base::Process StartSandboxedProcess(
|
| if (!disable_default_policy && !AddPolicyForSandboxedProcess(policy))
|
| return base::Process();
|
|
|
| - if (type_str == switches::kRendererProcess) {
|
| #if !defined(NACL_WIN64)
|
| + if (type_str == switches::kRendererProcess ||
|
| + type_str == switches::kPpapiPluginProcess) {
|
| if (gfx::win::ShouldUseDirectWrite()) {
|
| AddDirectory(base::DIR_WINDOWS_FONTS,
|
| NULL,
|
| @@ -733,8 +734,10 @@ base::Process StartSandboxedProcess(
|
| base::UintToString(reinterpret_cast<unsigned int>(shared_handle)));
|
| }
|
| }
|
| + }
|
| #endif
|
| - } else {
|
| +
|
| + if (type_str != switches::kRendererProcess) {
|
| // Hack for Google Desktop crash. Trick GD into not injecting its DLL into
|
| // this subprocess. See
|
| // http://code.google.com/p/chromium/issues/detail?id=25580
|
|
|