Replace all uses of the style::stylearc alias with servo_arc.

The alias is left there temporarilly and will be removed completely in a later commit where
also components/style/gecko/generated/structs_{debug|release}.rs are re-generated (they still
use the old alias).
This commit is contained in:
Michael Partheil 2017-07-18 18:48:57 +02:00
parent d403f40438
commit b07ebbae6b
108 changed files with 150 additions and 128 deletions

View file

@ -42,7 +42,7 @@ impl DeepCloneWithLock for ImportSheet {
/// A sheet that is held from an import rule.
#[cfg(feature = "servo")]
#[derive(Debug)]
pub struct ImportSheet(pub ::stylearc::Arc<::stylesheets::Stylesheet>);
pub struct ImportSheet(pub ::servo_arc::Arc<::stylesheets::Stylesheet>);
impl StylesheetInDocument for ImportSheet {
/// Get the media associated with this stylesheet.
@ -67,7 +67,7 @@ impl DeepCloneWithLock for ImportSheet {
_guard: &SharedRwLockReadGuard,
_params: &DeepCloneParams,
) -> Self {
use stylearc::Arc;
use servo_arc::Arc;
ImportSheet(Arc::new((&*self.0).clone()))
}