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 d21b52ff59bb9103777c74305cf642bd7fa11cd5..2164e3046c2258399308468d13a0b0380c6af61b 100644 |
--- a/chrome/browser/chromeos/login/chrome_restart_request.cc |
+++ b/chrome/browser/chromeos/login/chrome_restart_request.cc |
@@ -176,7 +176,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, |
@@ -234,15 +233,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; |
} |