mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Cleanup Stylo dependencies (#36046)
Now that Stylo considers `servo` as the default feature, Servo doesn't need to specify `features = ["servo"]`. Also use the same crate names as Stylo, rather than renaming them with `package`. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
3a3c3aeb75
commit
4acaa08cf5
21 changed files with 63 additions and 63 deletions
|
@ -41,8 +41,8 @@ pub(crate) struct StyleSheetInDocument {
|
|||
|
||||
// This is necessary because this type is contained within a Stylo type which needs
|
||||
// Stylo's version of MallocSizeOf.
|
||||
impl style_malloc_size_of::MallocSizeOf for StyleSheetInDocument {
|
||||
fn size_of(&self, ops: &mut style_malloc_size_of::MallocSizeOfOps) -> usize {
|
||||
impl stylo_malloc_size_of::MallocSizeOf for StyleSheetInDocument {
|
||||
fn size_of(&self, ops: &mut stylo_malloc_size_of::MallocSizeOfOps) -> usize {
|
||||
<StyleSheetInDocument as malloc_size_of::MallocSizeOf>::size_of(self, ops)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue