| Index: chrome/browser/chromeos/login/chrome_restart_request.cc
|
| diff --git a/chrome/browser/chromeos/login/chrome_restart_request.cc b/chrome/browser/chromeos/login/chrome_restart_request.cc
|
| index 33990fec8a4505c4f3435be470118899bd9656f3..486125e34209f654aad8bcaf2204609f4e3382fd 100644
|
| --- a/chrome/browser/chromeos/login/chrome_restart_request.cc
|
| +++ b/chrome/browser/chromeos/login/chrome_restart_request.cc
|
| @@ -179,6 +179,7 @@
|
| cc::switches::kEnableGPURasterization,
|
| cc::switches::kEnableImplSidePainting,
|
| cc::switches::kEnableMapImage,
|
| + cc::switches::kEnablePartialSwap,
|
| cc::switches::kEnablePerTilePainting,
|
| cc::switches::kEnablePinchVirtualViewport,
|
| cc::switches::kEnableTopControlsPositionCalculation,
|
| @@ -238,6 +239,15 @@
|
| ::switches::kRegisterPepperPlugins).c_str());
|
| }
|
|
|
| + // TODO(zelidrag): Remove this hack that get us around compositing bug from
|
| + // http://crbug.com/179256 once that bug is resolved.
|
| + if (command_line->HasSwitch(::switches::kForceAppMode)) {
|
| + std::string switch_to_remove("--");
|
| + switch_to_remove.append(cc::switches::kEnablePartialSwap);
|
| + cmd_line_str = cmd_line_str.replace(cmd_line_str.find(switch_to_remove),
|
| + switch_to_remove.length(), "");
|
| + }
|
| +
|
| return cmd_line_str;
|
| }
|
|
|
|
|