aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmliframeelement.rs
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2015-10-07 11:18:42 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2015-10-07 12:24:15 +1000
commitda881947e5370b95778e45c6b1f618690437f007 (patch)
tree5887cf0372ff49223b00baeb205ac343bfafe612 /components/script/dom/htmliframeelement.rs
parent5eb1c04e7854d932c0d63f9e5ed4d54ee43deb9b (diff)
downloadservo-da881947e5370b95778e45c6b1f618690437f007.tar.gz
servo-da881947e5370b95778e45c6b1f618690437f007.zip
Remove constellation round trip for subpage mapping in compositor.
This makes use of the new functionality that allows iframes to generate their own pipeline IDs in order to remove any knowledge of subpage ids from the compositor. (This is the first of several commits removing subpage from parts of servo).
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
-rw-r--r--components/script/dom/htmliframeelement.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs
index 115dd139854..b8df7d9fd78 100644
--- a/components/script/dom/htmliframeelement.rs
+++ b/components/script/dom/htmliframeelement.rs
@@ -222,6 +222,11 @@ impl HTMLIFrameElement {
pub fn subpage_id(&self) -> Option<SubpageId> {
self.subpage_id.get()
}
+
+ #[inline]
+ pub fn pipeline_id(&self) -> Option<PipelineId> {
+ self.pipeline_id.get()
+ }
}
pub fn Navigate(iframe: &HTMLIFrameElement, direction: NavigationDirection) -> Fallible<()> {