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

Unified Diff: content/common/sandbox_mac.mm

Issue 1849343003: mac: Remove IsOSSnowLeopard(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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/common.sb ('k') | ipc/attachment_broker_mac_unittest.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 c422bf7f8f2a7874583eb944edbe54edcf04a854..6a7f2cfcc7434544ca3776af491a3417aa219d67 100644
--- a/content/common/sandbox_mac.mm
+++ b/content/common/sandbox_mac.mm
@@ -491,16 +491,6 @@ bool Sandbox::EnableSandbox(int sandbox_type,
if (!compiler.InsertBooleanParam("ELCAP_OR_LATER", elcap_or_later))
return false;
-#if defined(COMPONENT_BUILD)
- // dlopen() fails without file-read-metadata access if the executable image
- // contains LC_RPATH load commands. The components build uses those.
- // See http://crbug.com/127465
- if (base::mac::IsOSSnowLeopard()) {
- if (!compiler.InsertBooleanParam("COMPONENT_BUILD_WORKAROUND", true))
- return false;
- }
-#endif
-
// Initialize sandbox.
std::string error_str;
bool success = compiler.CompileAndApplyProfile(&error_str);
« no previous file with comments | « content/common/common.sb ('k') | ipc/attachment_broker_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698