refactor(browse): move headlessGpuArgs below the import block

The #2709 helper landed between two import statements; imports now stay
contiguous. No behavior change.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-09-01 16:07:22 +00:00
co-authored by Claude Fable 5
parent ce3f3848a7
commit d03b34c1ce
+2 -2
View File
@@ -24,6 +24,8 @@ import { TabSession, type RefEntry } from './tab-session';
import { resolveChromiumProfile, cleanSingletonLocks } from './config';
import { launchWithXProtectHeal } from './xprotect-heal';
import { readPidStartTime } from './xvfb';
import { withCdpSession } from './cdp-bridge';
import type { MemorySnapshot, MemoryStructureStats, MemoryTabSnapshot, MemoryProcess } from './memory-snapshot';
/**
* Headless GPU flags (#2709): on macOS 26 / Apple Silicon the headless-shell
@@ -47,8 +49,6 @@ export function headlessGpuArgs(platform: string, env: NodeJS.ProcessEnv): strin
'--disable-gpu-watchdog',
];
}
import { withCdpSession } from './cdp-bridge';
import type { MemorySnapshot, MemoryStructureStats, MemoryTabSnapshot, MemoryProcess } from './memory-snapshot';
/**
* Detect whether GSTACK_CHROMIUM_PATH points at a custom Chromium build that