aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlimageelement.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2015-02-19 13:08:50 -0500
committerJosh Matthews <josh@joshmatthews.net>2015-03-03 16:25:40 -0500
commite2c4f5ed6726ed7434197180b301f74a967d3ffc (patch)
tree543d4b085a38fdbc134c945d78fff2b2dec619b4 /components/script/dom/htmlimageelement.rs
parentd9f04180a5d9146f4486ede6fabb9da638cccd41 (diff)
downloadservo-e2c4f5ed6726ed7434197180b301f74a967d3ffc.tar.gz
servo-e2c4f5ed6726ed7434197180b301f74a967d3ffc.zip
Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
Diffstat (limited to 'components/script/dom/htmlimageelement.rs')
-rw-r--r--components/script/dom/htmlimageelement.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/htmlimageelement.rs b/components/script/dom/htmlimageelement.rs
index 2f8d09bb759..6b2f0b3dc2f 100644
--- a/components/script/dom/htmlimageelement.rs
+++ b/components/script/dom/htmlimageelement.rs
@@ -17,6 +17,7 @@ use dom::element::ElementTypeId;
use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
use dom::node::{Node, NodeTypeId, NodeHelpers, NodeDamage, window_from_node};
use dom::virtualmethods::VirtualMethods;
+use dom::window::WindowHelpers;
use net::image_cache_task;
use util::geometry::to_px;
use util::str::DOMString;