Pier Angelo Vendrame pushed to branch tor-browser-158.0a1-17.0-2 at The Tor Project / Applications / Tor Browser
Commits:
-
6f327565
by june wilde at 2026-11-24T08:13:19-08:00
1 changed file:
Changes:
| ... | ... | @@ -11,7 +11,9 @@ |
| 11 | 11 | |
| 12 | 12 | #if defined(XP_WIN) && defined(MOZ_SANDBOX)
|
| 13 | 13 | # include "mozilla/CpuInfo.h"
|
| 14 | +# ifndef BASE_BROWSER_VERSION
|
|
| 14 | 15 | # include "mozilla/llama/LlamaRuntimeLinker.h"
|
| 16 | +# endif !BASE_BROWSER_VERSION
|
|
| 15 | 17 | # include "mozilla/sandboxTarget.h"
|
| 16 | 18 | # include "WMF.h"
|
| 17 | 19 | # include "WMFDecoderModule.h"
|
| ... | ... | @@ -106,9 +108,11 @@ bool UtilityProcessImpl::Init(int aArgc, char* aArgv[]) { |
| 106 | 108 | UtilityMediaServiceParent::WMFPreloadForSandbox();
|
| 107 | 109 | }
|
| 108 | 110 | |
| 111 | +# ifndef BASE_BROWSER_VERSION
|
|
| 109 | 112 | if (*sandboxingKind == SandboxingKind::HW_INFERENCE) {
|
| 110 | 113 | mozilla::llama::LlamaRuntimeLinker::Init();
|
| 111 | 114 | }
|
| 115 | +# endif // !BASE_BROWSER_VERSION
|
|
| 112 | 116 | |
| 113 | 117 | // Go for it
|
| 114 | 118 | mozilla::SandboxTarget::Instance()->StartSandbox();
|