Use StyleArc in the style system.

MozReview-Commit-ID: flF0fv9E9M
This commit is contained in:
Bobby Holley 2017-04-30 15:18:01 -07:00
parent 6d8fc600b8
commit d78ca4c4f9
37 changed files with 49 additions and 54 deletions

View file

@ -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 {

View file

@ -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>