Skip to content

Commit 28ec8d4

Browse files
committed
use page arena in get_sameDocument
1 parent 6e42df2 commit 28ec8d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/navigation/navigation.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub const NavigationHistoryEntry = struct {
8888
pub fn get_sameDocument(self: *const NavigationHistoryEntry, page: *Page) !bool {
8989
const _url = self.url orelse return false;
9090
const url = try URL.parse(_url, null);
91-
return page.url.eqlDocument(&url, page.arena);
91+
return page.url.eqlDocument(&url, page.call_arena);
9292
}
9393

9494
pub fn get_url(self: *const NavigationHistoryEntry) ?[]const u8 {

0 commit comments

Comments
 (0)