mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Further changes required by Servo
This commit is contained in:
parent
060d74ba3b
commit
60e206143c
8 changed files with 21 additions and 46 deletions
|
@ -82,7 +82,7 @@ use style::animation::DocumentAnimationSet;
|
|||
use style::context::{
|
||||
QuirksMode, RegisteredSpeculativePainter, RegisteredSpeculativePainters, SharedStyleContext,
|
||||
};
|
||||
use style::dom::{TDocument, TElement, TNode};
|
||||
use style::dom::{TElement, TNode};
|
||||
use style::driver;
|
||||
use style::error_reporting::RustLogReporter;
|
||||
use style::global_style_data::{GLOBAL_STYLE_DATA, STYLE_THREAD_POOL};
|
||||
|
@ -943,11 +943,7 @@ impl LayoutThread {
|
|||
}
|
||||
|
||||
// Flush shadow roots stylesheets if dirty.
|
||||
document.flush_shadow_roots_stylesheets(
|
||||
&self.stylist.device(),
|
||||
document.quirks_mode(),
|
||||
guards.author.clone(),
|
||||
);
|
||||
document.flush_shadow_roots_stylesheets(&mut self.stylist, guards.author.clone());
|
||||
|
||||
let restyles = std::mem::take(&mut data.pending_restyles);
|
||||
debug!("Draining restyles: {}", restyles.len());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue