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

Unified Diff: content/common/sandbox_mac.mm

Issue 1917973002: mac: Remove IsOSLion(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tapted Created 4 years, 8 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
« no previous file with comments | « content/common/cursors/webcursor_mac.mm ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_mac.mm
diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm
index f103b7cdf16a72e7ff39d7a01b2e5264332f786e..c7a2cdd7c7f54b4127f42113e8fcbc343f9db9db 100644
--- a/content/common/sandbox_mac.mm
+++ b/content/common/sandbox_mac.mm
@@ -474,9 +474,6 @@ bool Sandbox::EnableSandbox(int sandbox_type,
if (!compiler.InsertStringParam("USER_HOMEDIR_AS_LITERAL", quoted_home_dir))
return false;
- bool lion_or_later = base::mac::IsOSLionOrLater();
- if (!compiler.InsertBooleanParam("LION_OR_LATER", lion_or_later))
- return false;
bool elcap_or_later = base::mac::IsOSElCapitanOrLater();
if (!compiler.InsertBooleanParam("ELCAP_OR_LATER", elcap_or_later))
return false;
« no previous file with comments | « content/common/cursors/webcursor_mac.mm ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698