Browser window: Constify bw through page_info_state getter.

This commit is contained in:
Michael Drake 2020-02-23 16:59:40 +00:00
parent 475d397b8c
commit d23a7b4c8f
2 changed files with 2 additions and 2 deletions

View File

@ -4644,7 +4644,7 @@ browser_window__reload_current_parameters(struct browser_window *bw)
/* Exported interface, documented in browser_window.h */
browser_window_page_info_state browser_window_get_page_info_state(
struct browser_window *bw)
const struct browser_window *bw)
{
lwc_string *scheme;
bool match;

View File

@ -774,7 +774,7 @@ nserror browser_window_console_log(struct browser_window *bw,
* \return The state of the browser window
*/
browser_window_page_info_state browser_window_get_page_info_state(
struct browser_window *bw);
const struct browser_window *bw);
/**
* Request the current browser window SSL certificate chain.