Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 0ad6467

Browse files
committed
Bug 1504188 - Don't define AppendSandboxParams if building the sandbox is disabled. r=haik
--HG-- extra : rebase_source : 6ccb5a57b5a19b02deb25893f2a1c651346a4d4a
1 parent bb76366 commit 0ad6467

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dom/ipc/ContentParent.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2127,7 +2127,7 @@ ContentParent::GetTestShellSingleton()
21272127
return static_cast<TestShellParent*>(p);
21282128
}
21292129

2130-
#ifdef XP_MACOSX
2130+
#if defined(XP_MACOSX) && defined(MOZ_CONTENT_SANDBOX)
21312131
void
21322132
ContentParent::AppendSandboxParams(std::vector<std::string> &aArgs)
21332133
{
@@ -2239,7 +2239,7 @@ ContentParent::AppendSandboxParams(std::vector<std::string> &aArgs)
22392239
}
22402240
#endif // DEBUG
22412241
}
2242-
#endif // XP_MACOSX
2242+
#endif // XP_MACOSX && MOZ_CONTENT_SANDBOX
22432243

22442244
bool
22452245
ContentParent::LaunchSubprocess(ProcessPriority aInitialPriority /* = PROCESS_PRIORITY_FOREGROUND */)

0 commit comments

Comments
 (0)