aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2017-01-04 11:28:58 +0100
committerMs2ger <Ms2ger@gmail.com>2017-01-10 09:45:45 +0100
commit1c614aedd3afbd481030fd29cbc98a917ddf1049 (patch)
tree13913168bb089706d9b37239c1c43a28b9d80846
parented3f53211ca91a90258c9bc2b8abceddb34e6847 (diff)
downloadservo-1c614aedd3afbd481030fd29cbc98a917ddf1049.tar.gz
servo-1c614aedd3afbd481030fd29cbc98a917ddf1049.zip
Remove unused ScrollRootId::to_stacking_context_id.
-rw-r--r--components/gfx_traits/lib.rs5
1 files changed, 0 insertions, 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.