Refactored optional argument "last_modified" for Document

Fixes #4981
This commit is contained in:
Martin Schröder 2015-03-06 23:40:09 +01:00
parent f30faeadd0
commit 5c8b617715
5 changed files with 23 additions and 22 deletions

View file

@ -1576,7 +1576,7 @@ impl Node {
let window = document.window().root();
let document = Document::new(window.r(), Some(document.url()),
is_html_doc, None,
DocumentSource::NotFromParser);
None, DocumentSource::NotFromParser);
NodeCast::from_temporary(document)
},
NodeTypeId::Element(..) => {