summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/browser_window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/browser_window.c b/desktop/browser_window.c
index ac3dc1ec6..dea507fef 100644
--- a/desktop/browser_window.c
+++ b/desktop/browser_window.c
@@ -4652,13 +4652,13 @@ browser_window_page_info_state browser_window_get_page_info_state(
assert(bw != NULL);
- /* Do we have any parameters? If not -- UNKNOWN */
- if (bw->current_parameters.url == NULL ||
- bw->current_content == NULL) {
+ /* Do we have any content? If not -- UNKNOWN */
+ if (bw->current_content == NULL) {
return PAGE_STATE_UNKNOWN;
}
- scheme = nsurl_get_component(bw->current_parameters.url, NSURL_SCHEME);
+ scheme = nsurl_get_component(
+ hlcache_handle_get_url(bw->current_content), NSURL_SCHEME);
/* Is this an internal scheme? */
if ((lwc_string_isequal(scheme, corestring_lwc_about,