mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 14:43:28 +00:00
use page arena in get_sameDocument
This commit is contained in:
@@ -88,7 +88,7 @@ pub const NavigationHistoryEntry = struct {
|
||||
pub fn get_sameDocument(self: *const NavigationHistoryEntry, page: *Page) !bool {
|
||||
const _url = self.url orelse return false;
|
||||
const url = try URL.parse(_url, null);
|
||||
return page.url.eqlDocument(&url, page.arena);
|
||||
return page.url.eqlDocument(&url, page.call_arena);
|
||||
}
|
||||
|
||||
pub fn get_url(self: *const NavigationHistoryEntry) ?[]const u8 {
|
||||
|
||||
Reference in New Issue
Block a user