mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Use StyleArc in the style system.
MozReview-Commit-ID: flF0fv9E9M
This commit is contained in:
parent
6d8fc600b8
commit
d78ca4c4f9
37 changed files with 49 additions and 54 deletions
|
@ -8,7 +8,7 @@ use std::marker::PhantomData;
|
|||
use std::mem::{forget, transmute};
|
||||
use std::ops::{Deref, DerefMut};
|
||||
use std::ptr;
|
||||
use std::sync::Arc;
|
||||
use stylearc::Arc;
|
||||
|
||||
/// Indicates that a given Servo type has a corresponding Gecko FFI type.
|
||||
pub unsafe trait HasFFI : Sized {
|
||||
|
|
|
@ -9,7 +9,7 @@ use gecko_bindings::sugar::ownership::HasArcFFI;
|
|||
use std::{mem, ptr};
|
||||
use std::marker::PhantomData;
|
||||
use std::ops::{Deref, DerefMut};
|
||||
use std::sync::Arc;
|
||||
use stylearc::Arc;
|
||||
|
||||
/// Trait for all objects that have Addref() and Release
|
||||
/// methods and can be placed inside RefPtr<T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue