aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/document.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r--components/script/dom/document.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs
index d60545e159b..562719de40c 100644
--- a/components/script/dom/document.rs
+++ b/components/script/dom/document.rs
@@ -242,7 +242,6 @@ pub trait DocumentHelpers<'a> {
fn disarm_reflow_timeout(self);
fn unregister_named_element(self, to_unregister: &Element, id: Atom);
fn register_named_element(self, element: &Element, id: Atom);
- fn load_anchor_href(self, href: DOMString);
fn find_fragment_node(self, fragid: DOMString) -> Option<Root<Element>>;
fn hit_test(self, point: &Point2D<f32>) -> Option<UntrustedNodeAddress>;
fn get_nodes_under_mouse(self, point: &Point2D<f32>) -> Vec<UntrustedNodeAddress>;
@@ -465,11 +464,6 @@ impl<'a> DocumentHelpers<'a> for &'a Document {
}
}
- fn load_anchor_href(self, href: DOMString) {
- let window = self.window.root();
- window.r().load_url(href);
- }
-
/// Attempt to find a named element in this page's document.
/// https://html.spec.whatwg.org/multipage/#the-indicated-part-of-the-document
fn find_fragment_node(self, fragid: DOMString) -> Option<Root<Element>> {