mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -120,9 +120,8 @@ unsafe impl Sync for OpaqueComputedValues {}
|
|||
|
||||
impl OpaqueComputedValues {
|
||||
fn from(cv: &ComputedValues) -> Self {
|
||||
let p = unsafe {
|
||||
NonNull::new_unchecked(cv as *const ComputedValues as *const () as *mut ())
|
||||
};
|
||||
let p =
|
||||
unsafe { NonNull::new_unchecked(cv as *const ComputedValues as *const () as *mut ()) };
|
||||
OpaqueComputedValues(p)
|
||||
}
|
||||
|
||||
|
@ -204,7 +203,8 @@ impl ValidationData {
|
|||
let values =
|
||||
OpaqueComputedValues::from(parent.borrow_data().unwrap().styles.primary());
|
||||
values
|
||||
}).clone()
|
||||
})
|
||||
.clone()
|
||||
}
|
||||
|
||||
/// Computes the revalidation results if needed, and returns it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue