mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
style: Split collected @font-face / @counter-style rules per origin.
This commit is contained in:
parent
1877cac477
commit
57622004ce
4 changed files with 120 additions and 47 deletions
|
@ -114,7 +114,6 @@ use servo_url::ServoUrl;
|
|||
use std::borrow::ToOwned;
|
||||
use std::cell::{Cell, RefCell};
|
||||
use std::collections::HashMap;
|
||||
use std::marker::PhantomData;
|
||||
use std::mem as std_mem;
|
||||
use std::ops::{Deref, DerefMut};
|
||||
use std::process;
|
||||
|
@ -1207,9 +1206,7 @@ impl LayoutThread {
|
|||
author: &author_guard,
|
||||
ua_or_user: &ua_or_user_guard,
|
||||
};
|
||||
let mut extra_data = ExtraStyleData {
|
||||
marker: PhantomData,
|
||||
};
|
||||
let mut extra_data = ExtraStyleData;
|
||||
let needs_dirtying = self.stylist.update(
|
||||
StylesheetIterator(data.document_stylesheets.iter()),
|
||||
&guards,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue