From 1c614aedd3afbd481030fd29cbc98a917ddf1049 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Wed, 4 Jan 2017 11:28:58 +0100 Subject: [PATCH] Remove unused ScrollRootId::to_stacking_context_id. --- components/gfx_traits/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/gfx_traits/lib.rs b/components/gfx_traits/lib.rs index 72c1b373e2b..89ddeb512bf 100644 --- a/components/gfx_traits/lib.rs +++ b/components/gfx_traits/lib.rs @@ -211,11 +211,6 @@ impl ScrollRootId { pub fn fragment_type(&self) -> FragmentType { FragmentType::from_usize(self.0 & 3) } - - #[inline] - pub fn to_stacking_context_id(&self) -> StackingContextId { - StackingContextId(self.0) - } } /// The type of fragment that a stacking context represents.