Skip to content

Commit 7dd0fa3

Browse files
committed
servo: Merge #16972 - style: Move all the style sharing code outside matching.rs (from emilio:sanity-is-important-most-of-the-time); r=bholley
This is just a code health change. I want to move it away to keep matching.rs as simple as possible. Source-Repo: https://github.com/servo/servo Source-Revision: 03fbea4ec8af3ef6c5c621974b3c52cd755ed287 UltraBlame original commit: fa744ead203d68703ee82790db81440d5584615e
1 parent 92f1aaa commit 7dd0fa3

File tree

6 files changed

+4862
-4725
lines changed

6 files changed

+4862
-4725
lines changed

servo/components/style/context.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ gecko_bindings
103103
:
104104
structs
105105
;
106-
use
107-
matching
108-
:
109-
:
110-
StyleSharingCandidateCache
111-
;
112106
#
113107
[
114108
cfg
@@ -181,6 +175,12 @@ shared_lock
181175
:
182176
StylesheetGuards
183177
;
178+
use
179+
sharing
180+
:
181+
:
182+
StyleSharingCandidateCache
183+
;
184184
#
185185
[
186186
cfg

servo/components/style/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,10 @@ shared_lock
610610
;
611611
pub
612612
mod
613+
sharing
614+
;
615+
pub
616+
mod
613617
stylist
614618
;
615619
#

0 commit comments

Comments
 (0)