diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2016-01-03 19:18:34 -0800 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2016-01-06 18:24:18 -0800 |
commit | bf1a7d243f443c272e92797ab34f56bfe349de4c (patch) | |
tree | 8d86a924a4b8d88a6e82e9e2539d37875f9a6a68 /components/layout/context.rs | |
parent | ebc5eb1b98e07c9d130bec81400f917b33927447 (diff) | |
download | servo-bf1a7d243f443c272e92797ab34f56bfe349de4c.tar.gz servo-bf1a7d243f443c272e92797ab34f56bfe349de4c.zip |
Remove the dependency of parallel DOM traversal and style calculation on LayoutContext.
Diffstat (limited to 'components/layout/context.rs')
-rw-r--r-- | components/layout/context.rs | 10 |
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 |