diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2015-03-11 14:13:30 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2015-03-11 14:13:30 +1000 |
commit | e265b6b15b70ccf85f9e2f038be7ca8f913ea69f (patch) | |
tree | 6b5853f6454fc7fe87b1968e330ce1d26e63750c /components/script/page.rs | |
parent | ec91fa2cfd2a4f610c5a2f20ad1e57ba058078cb (diff) | |
download | servo-e265b6b15b70ccf85f9e2f038be7ca8f913ea69f.tar.gz servo-e265b6b15b70ccf85f9e2f038be7ca8f913ea69f.zip |
Remove unused subpage field from page
Diffstat (limited to 'components/script/page.rs')
-rw-r--r-- | components/script/page.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/components/script/page.rs b/components/script/page.rs index ffaa25c9e14..cea2ddefc27 100644 --- a/components/script/page.rs +++ b/components/script/page.rs @@ -8,7 +8,7 @@ use dom::document::{Document, DocumentHelpers}; use dom::node::NodeHelpers; use dom::window::Window; -use msg::constellation_msg::{PipelineId, SubpageId}; +use msg::constellation_msg::PipelineId; use util::smallvec::SmallVec; use std::cell::Cell; use std::rc::Rc; @@ -20,9 +20,6 @@ pub struct Page { /// Pipeline id associated with this page. id: PipelineId, - /// Subpage id associated with this page, if any. - subpage_id: Option<SubpageId>, - /// The outermost frame containing the document and window. frame: DOMRefCell<Option<Frame>>, @@ -65,10 +62,9 @@ impl IterablePage for Rc<Page> { } impl Page { - pub fn new(id: PipelineId, subpage_id: Option<SubpageId>, url: Url) -> Page { + pub fn new(id: PipelineId, url: Url) -> Page { Page { id: id, - subpage_id: subpage_id, frame: DOMRefCell::new(None), url: url, needs_reflow: Cell::new(true), |