Skip to content

Cherry-pick some upstream patches#257

Merged
emilio merged 3 commits intomainfrom
iter-mut
Oct 21, 2025
Merged

Cherry-pick some upstream patches#257
emilio merged 3 commits intomainfrom
iter-mut

Conversation

@emilio
Copy link
Copy Markdown
Member

@emilio emilio commented Oct 21, 2025

…oburns,oriol,#style

I want to update the UrlExtraData of the stylesheet contents when
cloning for uniqueness.

This removes an API that servo uses but that's easily replaceable, see:
servo/servo#40024

Differential Revision: https://phabricator.services.mozilla.com/D269200
…r=#style,Oriol,nicoburns

I want the iter_mut() methods to fix
servo/servo#40024.

But we can simplify this a little bit nowadays to avoid duplicating a
lot of code.

Differential Revision: https://phabricator.services.mozilla.com/D269226
pub fn parse_rule_for_insert(
&self,
lock: &SharedRwLock,
guard: &SharedRwLockReadGuard,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable

… the StylesheetContents without needing a whole new stylesheet. r=oriol,nicoburns,#style

Put the Arc<StylesheetContents> under a Locked<T> so that Servo can
replace it.

Differential Revision: https://phabricator.services.mozilla.com/D269382
@emilio emilio added this pull request to the merge queue Oct 21, 2025
Merged via the queue into main with commit a65e2c3 Oct 21, 2025
5 checks passed
@emilio emilio deleted the iter-mut branch October 21, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants