Closed
Bug 1834960
Opened 3 years ago
Closed 3 years ago
Unused Locked<> in CssRule::Property can be removed
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
115 Branch
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | fixed |
People
(Reporter: zrhoffman, Assigned: zrhoffman)
References
Details
Attachments
(4 files)
As mentioned in bug 1834674, CssRule::Propertyonly gets locked for reading, and not writing, but really theLocked<>` can just be removed.
| Assignee | ||
Comment 1•3 years ago
|
||
Depends on D178892
Updated•3 years ago
|
Assignee: nobody → zach
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•3 years ago
|
||
Depends on D178892
Depends on D179038
Comment 3•3 years ago
|
||
This makes me a bit less uncomfortable about the previous changes :)
Note that some of this code gets modified in the following patch.
Comment 4•3 years ago
|
||
Anything that doesn't need interior mutability doesn't need Locked<>
around it.
Depends on D179059
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9ec2f71281b7
Support non-Locked CSS rules at the FFI boundary r=emilio
https://hg.mozilla.org/integration/autoland/rev/15ea211deec5
[css-properties-values-api] Remove Locked<> from CssRule::Property arc r=emilio
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5add0b5f1728
Avoid some code duplication from the previous patches. r=zrhoffman
https://hg.mozilla.org/integration/autoland/rev/6208f081bcc6
Use non-locked rules for all rule types that can. r=zrhoffman
https://hg.mozilla.org/integration/autoland/rev/b9e75060a406
apply code formatting via Lando
Comment 7•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9ec2f71281b7
https://hg.mozilla.org/mozilla-central/rev/15ea211deec5
https://hg.mozilla.org/mozilla-central/rev/5add0b5f1728
https://hg.mozilla.org/mozilla-central/rev/6208f081bcc6
https://hg.mozilla.org/mozilla-central/rev/b9e75060a406
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox115:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•