mshtml: Use nsAString_InitDepend in SetDesignMode call.

This commit is contained in:
Jacek Caban 2013-04-23 12:58:08 +02:00 committed by Alexandre Julliard
parent cf6288e2ab
commit 6a7db8967f
1 changed files with 1 additions and 1 deletions

View File

@ -2949,7 +2949,7 @@ HRESULT update_window_doc(HTMLInnerWindow *window)
static const PRUnichar onW[] = {'o','n',0};
nsAString_Init(&mode_str, onW);
nsAString_InitDepend(&mode_str, onW);
nsres = nsIDOMHTMLDocument_SetDesignMode(window->doc->nsdoc, &mode_str);
nsAString_Finish(&mode_str);
if(NS_FAILED(nsres))