Bug 1401317 - Make second pass sharing sensitive to DISABLE_STYLE_SHARING_CACHE. r=emilio

MozReview-Commit-ID: 8U0xekMHGg8
This commit is contained in:
Bobby Holley 2017-09-19 15:04:14 -07:00
parent 2a97b2cd7c
commit 4abe8002e9
2 changed files with 6 additions and 0 deletions

View file

@ -195,6 +195,7 @@ where
if may_reuse {
let cached = self.context.thread_local.sharing_cache.lookup_by_rules(
self.context.shared,
parent_style.unwrap(),
inputs.rules.as_ref().unwrap(),
inputs.visited_rules.as_ref(),