Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4189)

Unified Diff: chrome/browser/chromeos/login/chrome_restart_request.cc

Issue 167953003: cc: Remove the --enable-partial-swap flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: enablepartialswap: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698