diff options
author | Ms2ger <ms2ger@gmail.com> | 2013-10-16 10:00:38 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2013-10-16 10:15:09 +0200 |
commit | 60b6d1bb57e018526a8702bff66fce1d84644afe (patch) | |
tree | 4fe54c25f2996a480d55a69951dcd8ba75634e4b /src/components/script/script_task.rs | |
parent | c9c9eec3d8cdb68f43352b777c3b138c743bc103 (diff) | |
download | servo-60b6d1bb57e018526a8702bff66fce1d84644afe.tar.gz servo-60b6d1bb57e018526a8702bff66fce1d84644afe.zip |
Issue #1071 - Ensure that Documents always have a non-null Window.
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r-- | src/components/script/script_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index ca3a04910bc..31a0bd6eb9d 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -717,7 +717,7 @@ impl ScriptTask { // Parse HTML. // // Note: We can parse the next document in parallel with any previous documents. - let document = HTMLDocument::new(Some(window)); + let document = HTMLDocument::new(window); let html_parsing_result = hubbub_html_parser::parse_html(cx.ptr, document, |