Commit 89f5a9df authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Use set_document_mode in process_document_response_headers.

parent 1622abbb
...@@ -461,7 +461,7 @@ void process_document_response_headers(HTMLDocumentNode *doc, IBinding *binding) ...@@ -461,7 +461,7 @@ void process_document_response_headers(HTMLDocumentNode *doc, IBinding *binding)
header = heap_strdupAtoW(buf); header = heap_strdupAtoW(buf);
if(header && parse_ua_compatible(header, &document_mode)) { if(header && parse_ua_compatible(header, &document_mode)) {
TRACE("setting document mode %d\n", document_mode); TRACE("setting document mode %d\n", document_mode);
doc->document_mode = document_mode; set_document_mode(doc, document_mode, FALSE);
} }
heap_free(header); heap_free(header);
} }
......
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