mirror of
https://github.com/servo/servo.git
synced 2025-08-20 12:55:33 +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
|
@ -15,8 +15,8 @@ use parking_lot::RwLock;
|
|||
use properties::ComputedValues;
|
||||
use shared_lock::{Locked, StylesheetGuards, SharedRwLockReadGuard};
|
||||
use std::collections::HashMap;
|
||||
use std::sync::Arc;
|
||||
use std::sync::mpsc::{Receiver, Sender, channel};
|
||||
use stylearc::Arc;
|
||||
use stylesheet_set::StylesheetSet;
|
||||
use stylesheets::{FontFaceRule, Origin, Stylesheet};
|
||||
use stylist::{ExtraStyleData, Stylist};
|
||||
|
|
|
@ -18,11 +18,11 @@ use media_queries::MediaType;
|
|||
use parser::ParserContext;
|
||||
use properties::{ComputedValues, StyleBuilder};
|
||||
use std::fmt::{self, Write};
|
||||
use std::sync::Arc;
|
||||
use str::starts_with_ignore_ascii_case;
|
||||
use string_cache::Atom;
|
||||
use style_traits::ToCss;
|
||||
use style_traits::viewport::ViewportConstraints;
|
||||
use stylearc::Arc;
|
||||
use values::{CSSFloat, specified};
|
||||
use values::computed::{self, ToComputedValue};
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ use gecko_bindings::structs::{nsChangeHint, nsStyleContext};
|
|||
use gecko_bindings::sugar::ownership::FFIArcHelpers;
|
||||
use properties::ComputedValues;
|
||||
use std::ops::{BitAnd, BitOr, BitOrAssign, Not};
|
||||
use std::sync::Arc;
|
||||
use stylearc::Arc;
|
||||
|
||||
/// The representation of Gecko's restyle damage is just a wrapper over
|
||||
/// `nsChangeHint`.
|
||||
|
|
|
@ -10,8 +10,8 @@ use gecko_bindings::sugar::refptr::RefPtr;
|
|||
use parser::ParserContext;
|
||||
use std::borrow::Cow;
|
||||
use std::fmt::{self, Write};
|
||||
use std::sync::Arc;
|
||||
use style_traits::ToCss;
|
||||
use stylearc::Arc;
|
||||
|
||||
/// A specified url() value for gecko. Gecko does not eagerly resolve SpecifiedUrls.
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
|
|
|
@ -71,8 +71,8 @@ use std::collections::HashMap;
|
|||
use std::fmt;
|
||||
use std::hash::{Hash, Hasher};
|
||||
use std::ptr;
|
||||
use std::sync::Arc;
|
||||
use string_cache::{Atom, Namespace, WeakAtom, WeakNamespace};
|
||||
use stylearc::Arc;
|
||||
use stylesheets::UrlExtraData;
|
||||
use stylist::ApplicableDeclarationBlock;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue