Skip to content

Commit b0b3e92

Browse files
committed
remove Browser.EnvType
1 parent 1fca035 commit b0b3e92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/browser/browser.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ pub const Browser = struct {
5858
http_client: *http.Client,
5959
session_pool: SessionPool,
6060
page_arena: std.heap.ArenaAllocator,
61-
pub const EnvType = Env;
6261

6362
const SessionPool = std.heap.MemoryPool(Session);
6463

src/cdp/cdp.zig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const Allocator = std.mem.Allocator;
2121
const json = std.json;
2222

2323
const App = @import("../app.zig").App;
24+
const Env = @import("../browser/env.zig").Env;
2425
const asUint = @import("../str/parser.zig").asUint;
2526
const Browser = @import("../browser/browser.zig").Browser;
2627
const Session = @import("../browser/browser.zig").Session;
@@ -308,7 +309,7 @@ pub fn BrowserContext(comptime CDP_T: type) type {
308309
node_registry: Node.Registry,
309310
node_search_list: Node.Search.List,
310311

311-
isolated_world: ?IsolatedWorld(Browser.EnvType),
312+
isolated_world: ?IsolatedWorld(Env),
312313

313314
const Self = @This();
314315

0 commit comments

Comments
 (0)