aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/macros.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/macros.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/macros.rs')
-rw-r--r--components/script/dom/macros.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/macros.rs b/components/script/dom/macros.rs
index d00aa9961b1..b1cba9ccd3e 100644
--- a/components/script/dom/macros.rs
+++ b/components/script/dom/macros.rs
@@ -80,6 +80,7 @@ macro_rules! make_url_or_base_getter(
fn $attr(self) -> DOMString {
use dom::element::{Element, AttributeHandlers};
use dom::bindings::codegen::InheritTypes::ElementCast;
+ use dom::window::WindowHelpers;
#[allow(unused_imports)]
use std::ascii::AsciiExt;
let element: JSRef<Element> = ElementCast::from_ref(self);