mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Bug 1401317 - Make second pass sharing sensitive to DISABLE_STYLE_SHARING_CACHE. r=emilio
MozReview-Commit-ID: 8U0xekMHGg8
This commit is contained in:
parent
2a97b2cd7c
commit
4abe8002e9
2 changed files with 6 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue