зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1707954: Part 2 - Update Launcher Process with mscom::ProcessRuntime changes; r=Jamie
Given the changes in part 1, we must now use the `ProcessCategory` variant of `ProcessRuntime`'s constructors. Differential Revision: https://phabricator.services.mozilla.com/D113561
This commit is contained in:
Родитель
0785438543
Коммит
f3adb70f19
|
@ -128,7 +128,8 @@ namespace mozilla {
|
|||
LauncherVoidResult LaunchUnelevated(int aArgc, wchar_t* aArgv[]) {
|
||||
// We need COM to talk to Explorer. Using ProcessRuntime so that
|
||||
// process-global COM configuration is done correctly
|
||||
mozilla::mscom::ProcessRuntime mscom(GeckoProcessType_Default);
|
||||
mozilla::mscom::ProcessRuntime mscom(
|
||||
mozilla::mscom::ProcessRuntime::ProcessCategory::Launcher);
|
||||
if (!mscom) {
|
||||
return LAUNCHER_ERROR_FROM_HRESULT(mscom.GetHResult());
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче