mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make synthesize_presentational_hints_for_legacy_attributes be safe
This commit is contained in:
parent
0c0027ecfd
commit
ebd2892158
3 changed files with 6 additions and 12 deletions
|
@ -646,10 +646,8 @@ impl<'le> TElement for ServoLayoutElement<'le> {
|
|||
) where
|
||||
V: Push<ApplicableDeclarationBlock>,
|
||||
{
|
||||
unsafe {
|
||||
self.element
|
||||
.synthesize_presentational_hints_for_legacy_attributes(hints);
|
||||
}
|
||||
self.element
|
||||
.synthesize_presentational_hints_for_legacy_attributes(hints);
|
||||
}
|
||||
|
||||
/// The shadow root this element is a host of.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue