From 1b59bc8d3bda130ec6cc302ac44716df583d130b Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Thu, 27 Aug 2026 15:23:45 +0800 Subject: [PATCH] fix the wpt build --- src/browser/Page.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/browser/Page.zig b/src/browser/Page.zig index 0833fa26f..5044ce378 100644 --- a/src/browser/Page.zig +++ b/src/browser/Page.zig @@ -28,7 +28,6 @@ const Viewport = @import("Viewport.zig"); const Blob = @import("webapi/Blob.zig"); const Element = @import("webapi/Element.zig"); -const WebDriver = @import("webapi/WebDriver.zig"); const SharedWorkerGlobalScope = @import("webapi/SharedWorkerGlobalScope.zig"); const Allocator = std.mem.Allocator; @@ -113,7 +112,7 @@ queued_queued_navigation: std.ArrayList(*Frame) = .empty, // The root Frame of this Page. Non-optional — a Page always has a root frame. frame: Frame, -input_modifiers: if (lp.build_config.wpt_extensions) WebDriver.Modifiers else struct {} = .{}, +input_modifiers: if (lp.build_config.wpt_extensions) @import("frame/user_input.zig").Modifiers else struct {} = .{}, // The element the synthetic pointer is currently over input_hover_target: ?*Element = null,