Back out 7af06ac5c280 (bug 1238769) for bustage

CLOSED TREE
This commit is contained in:
Phil Ringnalda 2016-02-03 20:15:33 -08:00
Родитель 27bc1a5a64
Коммит 4cff264841
1 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -123,7 +123,6 @@ XRE_TelemetryAccumulateType XRE_TelemetryAccumulate;
XRE_StartupTimelineRecordType XRE_StartupTimelineRecord;
XRE_mainType XRE_main;
XRE_StopLateWriteChecksType XRE_StopLateWriteChecks;
XRE_XPCShellMainType XRE_XPCShellMain;
static const nsDynamicFunctionLoad kXULFuncs[] = {
{ "XRE_GetFileFromPath", (NSFuncPtr*) &XRE_GetFileFromPath },
@ -133,7 +132,6 @@ static const nsDynamicFunctionLoad kXULFuncs[] = {
{ "XRE_StartupTimelineRecord", (NSFuncPtr*) &XRE_StartupTimelineRecord },
{ "XRE_main", (NSFuncPtr*) &XRE_main },
{ "XRE_StopLateWriteChecks", (NSFuncPtr*) &XRE_StopLateWriteChecks },
{ "XRE_XPCShellMain", (NSFuncPtr*) &XRE_XPCShellMain },
{ nullptr, nullptr }
};
@ -174,11 +172,6 @@ static int do_main(int argc, char* argv[], nsIFile *xreDirectory)
argv[2] = argv[0];
argv += 2;
argc -= 2;
} else if (argc > 1 && IsArg(argv[1], "xpcshell")) {
for (int i = 1; i < argc; i++) {
argv[i] = argv[i + 1];
}
return XRE_XPCShellMain(--argc, argv, environ);
}
if (appini) {