From d03b34c1ce9d9959188ca91b9b0ed185a1b7b33f Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Tue, 1 Sep 2026 16:07:22 +0000 Subject: [PATCH] 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 --- browse/src/browser-manager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browse/src/browser-manager.ts b/browse/src/browser-manager.ts index d08c41ab9..b35a9d2d5 100644 --- a/browse/src/browser-manager.ts +++ b/browse/src/browser-manager.ts @@ -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