mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 00:08:59 +00:00
cleanup
This commit is contained in:
@@ -251,7 +251,7 @@ pub const Page = struct {
|
|||||||
fn init(self: *Page, arena: Allocator, session: *Session) !void {
|
fn init(self: *Page, arena: Allocator, session: *Session) !void {
|
||||||
const browser = session.browser;
|
const browser = session.browser;
|
||||||
self.* = .{
|
self.* = .{
|
||||||
.window = try Window.create(null, null), // TODO why do we not call Window.create()?
|
.window = try Window.create(null, null),
|
||||||
.arena = arena,
|
.arena = arena,
|
||||||
.doc = null,
|
.doc = null,
|
||||||
.raw_data = null,
|
.raw_data = null,
|
||||||
|
|||||||
Reference in New Issue
Block a user