Auto merge of #13568 - servo:script-doc, r=emilio

Remove duplicated definition of 'doc'.

The same line exists higher up in the function.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13568)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-10-04 06:28:47 -05:00 committed by GitHub
commit bebe490b63

View file

@ -259,8 +259,6 @@ fn fetch_a_classic_script(script: &HTMLScriptElement,
status: Ok(()) status: Ok(())
})); }));
let doc = document_from_node(script);
let (action_sender, action_receiver) = ipc::channel().unwrap(); let (action_sender, action_receiver) = ipc::channel().unwrap();
let listener = NetworkListener { let listener = NetworkListener {
context: context, context: context,