diff options
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
-rw-r--r-- | components/script/dom/htmliframeelement.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs index 23613c9f1ba..6d2cd80689a 100644 --- a/components/script/dom/htmliframeelement.rs +++ b/components/script/dom/htmliframeelement.rs @@ -515,15 +515,13 @@ pub trait HTMLIFrameElementLayoutMethods { impl HTMLIFrameElementLayoutMethods for LayoutDom<'_, HTMLIFrameElement> { #[inline] - #[allow(unsafe_code)] fn pipeline_id(self) -> Option<PipelineId> { - unsafe { (self.unsafe_get()).pipeline_id.get() } + (self.unsafe_get()).pipeline_id.get() } #[inline] - #[allow(unsafe_code)] fn browsing_context_id(self) -> Option<BrowsingContextId> { - unsafe { (self.unsafe_get()).browsing_context_id.get() } + (self.unsafe_get()).browsing_context_id.get() } fn get_width(self) -> LengthOrPercentageOrAuto { |