Commit 6b7cb318 authored by flackr@chromium.org's avatar flackr@chromium.org

Pass touch layout related flags to zygote process.

BUG=141503
TEST=Remove non-touch resource paks, no missing resources in renderers when touch optimized layout is used.

Review URL: https://chromiumcodereview.appspot.com/10827256

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150919 0039d316-1c4b-4281-b951-d872f2087c98
parent 8ca8d246
......@@ -102,9 +102,13 @@ void ZygoteHostImpl::Init(const std::string& sandbox_cmd) {
switches::kDisableSeccompSandbox,
switches::kDisableSeccompFilterSandbox,
switches::kEnableSeccompSandbox,
// Zygote process needs to know what resources to have loaded when it
// becomes a renderer process.
switches::kEnableTouchEvents,
switches::kForceDeviceScaleFactor,
switches::kTouchOptimizedUI,
switches::kNoSandbox,
};
cmd_line.CopySwitchesFrom(browser_command_line, kForwardSwitches,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment