aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/context.rs')
-rw-r--r--components/layout/context.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/components/layout/context.rs b/components/layout/context.rs
index a10fe334730..43c51147934 100644
--- a/components/layout/context.rs
+++ b/components/layout/context.rs
@@ -128,16 +128,6 @@ impl<'a> LayoutContext<'a> {
self.cached_local_layout_context.font_context.borrow_mut()
}
- #[inline(always)]
- pub fn applicable_declarations_cache(&self) -> RefMut<ApplicableDeclarationsCache> {
- self.local_context().applicable_declarations_cache.borrow_mut()
- }
-
- #[inline(always)]
- pub fn style_sharing_candidate_cache(&self) -> RefMut<StyleSharingCandidateCache> {
- self.local_context().style_sharing_candidate_cache.borrow_mut()
- }
-
pub fn get_or_request_image(&self, url: Url, use_placeholder: UsePlaceholder)
-> Option<Arc<Image>> {
// See if the image is already available