aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-03-11 03:45:47 -0600
committerbors-servo <metajack+bors@gmail.com>2015-03-11 03:45:47 -0600
commit6ba3014d9b413d5d1d9911833e3ac08ecf97d65a (patch)
tree6b5853f6454fc7fe87b1968e330ce1d26e63750c /components/script/script_task.rs
parente581648c75a55a5939a16f4089295154e38dbc23 (diff)
parente265b6b15b70ccf85f9e2f038be7ca8f913ea69f (diff)
downloadservo-6ba3014d9b413d5d1d9911833e3ac08ecf97d65a.tar.gz
servo-6ba3014d9b413d5d1d9911833e3ac08ecf97d65a.zip
auto merge of #5192 : glennw/servo/remove-frame-id, r=Ms2ger
This will be re-introduced in a follow up PR with a different usage, but I'm trying to create small, independent PRs that are easier to review than one large change.
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index deffe3e8f66..e5d24cfffbe 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -909,8 +909,7 @@ impl ScriptTask {
let cx = cx.as_ref().unwrap();
// Create a new frame tree entry.
- let page = Rc::new(Page::new(incomplete.pipeline_id, incomplete.subpage_id.map(|p| p.1),
- final_url.clone()));
+ let page = Rc::new(Page::new(incomplete.pipeline_id, final_url.clone()));
if !root_page_exists {
// We have a new root frame tree.
*self.page.borrow_mut() = Some(page.clone());