| Index: content/browser/zygote_host/zygote_host_impl_linux.cc
|
| diff --git a/content/browser/zygote_host/zygote_host_impl_linux.cc b/content/browser/zygote_host/zygote_host_impl_linux.cc
|
| index 0e2ab19a4db5bd1cf5e91f98d477e321d22554e3..f34df1c078fa1206a19b238d0d860a8cc0bf5c24 100644
|
| --- a/content/browser/zygote_host/zygote_host_impl_linux.cc
|
| +++ b/content/browser/zygote_host/zygote_host_impl_linux.cc
|
| @@ -33,6 +33,7 @@
|
| #include "content/public/common/result_codes.h"
|
| #include "sandbox/linux/suid/client/setuid_sandbox_client.h"
|
| #include "sandbox/linux/suid/common/sandbox.h"
|
| +#include "ui/base/ui_base_switches.h"
|
|
|
| #if defined(USE_TCMALLOC)
|
| #include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h"
|
| @@ -100,6 +101,10 @@ void ZygoteHostImpl::Init(const std::string& sandbox_cmd) {
|
| switches::kRegisterPepperPlugins,
|
| switches::kDisableSeccompSandbox,
|
| switches::kEnableSeccompSandbox,
|
| + // Zygote process needs to know what resources to have loaded when it
|
| + // becomes a renderer process.
|
| + switches::kForceDeviceScaleFactor,
|
| + switches::kLoad2xResources,
|
| };
|
| cmd_line.CopySwitchesFrom(browser_command_line, kForwardSwitches,
|
| arraysize(kForwardSwitches));
|
|
|