Skip to content

Commit

Permalink
Bug 1642052 - Delete dead code. r=froydnj
Browse files Browse the repository at this point in the history
This Android-only ifdef block is nested inside a Windows-only ifdef block.

Differential Revision: https://phabricator.services.mozilla.com/D80962
  • Loading branch information
staktrace committed Jun 24, 2020
1 parent c9759ae commit 0c67e1c
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions ipc/glue/GeckoChildProcessHost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1414,24 +1414,6 @@ bool WindowsProcessLauncher::DoSetup() {
mCmdLine->AppendLooseValue(UTF8ToWide(*it));
}

# if defined(MOZ_WIDGET_ANDROID)
if (Omnijar::IsInitialized()) {
// Make sure the child process can find the omnijar
// See XRE_InitCommandLine in nsAppRunner.cpp
nsAutoString path;
nsCOMPtr<nsIFile> file = Omnijar::GetPath(Omnijar::GRE);
if (file && NS_SUCCEEDED(file->GetPath(path))) {
mCmdLine->AppendLooseValue(UTF8ToWide("-greomni"));
mCmdLine->AppendLooseValue(path.get());
}
file = Omnijar::GetPath(Omnijar::APP);
if (file && NS_SUCCEEDED(file->GetPath(path))) {
mCmdLine->AppendLooseValue(UTF8ToWide("-appomni"));
mCmdLine->AppendLooseValue(path.get());
}
}
# endif

# if defined(MOZ_SANDBOX)
# if defined(_ARM64_)
if (isClearKey || isWidevine)
Expand Down

0 comments on commit 0c67e1c

Please sign in to comment.