mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +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
|
@ -9,6 +9,9 @@ use parser::ParserContext;
|
|||
use servo_url::ServoUrl;
|
||||
use std::borrow::Cow;
|
||||
use std::fmt::{self, Write};
|
||||
// Note: We use std::sync::Arc rather than stylearc::Arc here because the
|
||||
// nonzero optimization is important in keeping the size of SpecifiedUrl below
|
||||
// the threshold.
|
||||
use std::sync::Arc;
|
||||
use style_traits::ToCss;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue