From 6889f37d9ed1b147146fa1461ed8d9b1d151745c Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 26 Feb 2016 17:01:51 +0100 Subject: Remove the url! plugin. In rust-url 1.0 the `Url` struct is going to have private fields, and there is no way to to create an aribitrary one without going through the parser. The plugin never had a clear demonstrated performance benefit, it was made mostly because it was possible and relatively easy at the time. --- components/script/dom/htmliframeelement.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/dom/htmliframeelement.rs') diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs index 56ad1d3df39..3824d981af1 100644 --- a/components/script/dom/htmliframeelement.rs +++ b/components/script/dom/htmliframeelement.rs @@ -146,7 +146,7 @@ impl HTMLIFrameElement { pub fn process_the_iframe_attributes(&self) { let url = match self.get_url() { Some(url) => url.clone(), - None => url!("about:blank"), + None => Url::parse("about:blank").unwrap(), }; self.navigate_or_reload_child_browsing_context(Some(url)); -- cgit v1.2.3