diff options
Diffstat (limited to 'src/components/script/dom/htmldocument.rs')
-rw-r--r-- | src/components/script/dom/htmldocument.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/htmldocument.rs b/src/components/script/dom/htmldocument.rs index 4a8ac7d8158..6443be08985 100644 --- a/src/components/script/dom/htmldocument.rs +++ b/src/components/script/dom/htmldocument.rs @@ -20,7 +20,7 @@ pub struct HTMLDocument { impl HTMLDocument { pub fn new_inherited(window: @mut Window) -> HTMLDocument { HTMLDocument { - parent: Document::new_inherited(window, HTML) + parent: Document::new_inherited(window, HTML, None) } } |