Skip to content

Commit 35afdb0

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 94545b1 commit 35afdb0

File tree

6 files changed

+7096
-6470
lines changed

6 files changed

+7096
-6470
lines changed

servo/components/style/context.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,6 @@ gecko_bindings
172172
:
173173
structs
174174
;
175-
use
176-
matching
177-
:
178-
:
179-
StyleSharingCandidateCache
180-
;
181175
#
182176
[
183177
cfg
@@ -250,6 +244,12 @@ shared_lock
250244
:
251245
StylesheetGuards
252246
;
247+
use
248+
sharing
249+
:
250+
:
251+
StyleSharingCandidateCache
252+
;
253253
#
254254
[
255255
cfg

servo/components/style/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,10 @@ shared_lock
10241024
;
10251025
pub
10261026
mod
1027+
sharing
1028+
;
1029+
pub
1030+
mod
10271031
stylist
10281032
;
10291033
#

0 commit comments

Comments
 (0)