Refactor some window_from_node calls based on feedback

This commit is contained in:
Arseniy Ivanov 2017-02-03 14:45:55 -05:00
parent 1bd1bddacf
commit 72ec00e0b5
3 changed files with 37 additions and 25 deletions

View file

@ -10,7 +10,7 @@ use dom::bindings::js::Root;
use dom::bindings::str::DOMString;
use dom::document::Document;
use dom::htmlelement::HTMLElement;
use dom::node::{Node, document_from_node, window_from_node};
use dom::node::{Node, document_from_node};
use html5ever_atoms::LocalName;
#[dom_struct]