| 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 f97df75d4f1170789f8eddcd3e7fe384c3fa2d5e..89bcee919a856ae49b2c3791a4646d6a4900e9c1 100644
|
| --- a/chrome/browser/chromeos/login/chrome_restart_request.cc
|
| +++ b/chrome/browser/chromeos/login/chrome_restart_request.cc
|
| @@ -177,7 +177,6 @@ std::string DeriveCommandLine(const GURL& start_url,
|
| cc::switches::kEnableGPURasterization,
|
| cc::switches::kEnableImplSidePainting,
|
| cc::switches::kEnableMapImage,
|
| - cc::switches::kEnablePartialSwap,
|
| cc::switches::kEnablePinchVirtualViewport,
|
| cc::switches::kEnableTopControlsPositionCalculation,
|
| cc::switches::kMaxTilesForInterestArea,
|
| @@ -235,15 +234,6 @@ std::string DeriveCommandLine(const GURL& start_url,
|
| ::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;
|
| }
|
|
|
|
|