Commit 0608054a authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

mshtml: Constify some variables.

parent 98350044
......@@ -743,7 +743,7 @@ HTMLWindow *HTMLWindow_Create(HTMLDocument *doc)
return ret;
}
HTMLWindow *nswindow_to_window(nsIDOMWindow *nswindow)
HTMLWindow *nswindow_to_window(const nsIDOMWindow *nswindow)
{
HTMLWindow *iter;
......
......@@ -295,7 +295,7 @@ HRESULT HTMLDocument_Create(IUnknown*,REFIID,void**);
HRESULT HTMLLoadOptions_Create(IUnknown*,REFIID,void**);
HTMLWindow *HTMLWindow_Create(HTMLDocument*);
HTMLWindow *nswindow_to_window(nsIDOMWindow*);
HTMLWindow *nswindow_to_window(const nsIDOMWindow*);
void HTMLDocument_HTMLDocument3_Init(HTMLDocument*);
void HTMLDocument_Persist_Init(HTMLDocument*);
......@@ -406,7 +406,7 @@ typedef struct {
thread_data_t *get_thread_data(BOOL);
HWND get_thread_hwnd(void);
void push_task(task_t*);
void remove_doc_tasks(HTMLDocument*);
void remove_doc_tasks(const HTMLDocument*);
DEFINE_GUID(CLSID_AboutProtocol, 0x3050F406, 0x98B5, 0x11CF, 0xBB,0x82, 0x00,0xAA,0x00,0xBD,0xCE,0x0B);
DEFINE_GUID(CLSID_JSProtocol, 0x3050F3B2, 0x98B5, 0x11CF, 0xBB,0x82, 0x00,0xAA,0x00,0xBD,0xCE,0x0B);
......
......@@ -119,7 +119,7 @@ static void register_nscontainer_class(void)
nscontainer_class = RegisterClassExW(&wndclass);
}
static BOOL load_xpcom(PRUnichar *gre_path)
static BOOL load_xpcom(const PRUnichar *gre_path)
{
WCHAR path_env[MAX_PATH];
int len;
......@@ -247,7 +247,7 @@ static void set_profile(void)
nsIProfile_Release(profile);
}
static BOOL init_xpcom(PRUnichar *gre_path)
static BOOL init_xpcom(const PRUnichar *gre_path)
{
nsresult nsres;
nsIObserver *pStartNotif;
......
......@@ -66,7 +66,7 @@ static task_t *pop_task(void)
return task;
}
void remove_doc_tasks(HTMLDocument *doc)
void remove_doc_tasks(const HTMLDocument *doc)
{
thread_data_t *thread_data = get_thread_data(FALSE);
task_t *iter, *tmp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment