aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout')
-rw-r--r--components/layout/wrapper.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs
index e11587710fa..98567dbcecd 100644
--- a/components/layout/wrapper.rs
+++ b/components/layout/wrapper.rs
@@ -144,8 +144,8 @@ pub trait TLayoutNode {
Some(elem) => elem,
None => panic!("not an iframe element!")
};
- let size = (*iframe_element.unsafe_get()).size().unwrap();
- (*size.pipeline_id(), *size.subpage_id())
+ ((*iframe_element.unsafe_get()).containing_page_pipeline_id().unwrap(),
+ (*iframe_element.unsafe_get()).subpage_id().unwrap())
}
}