mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Separate script and layout messages, issue #8843
This commit is contained in:
parent
d2e7fd8221
commit
655268d111
11 changed files with 80 additions and 27 deletions
|
@ -63,7 +63,7 @@ use net_traits::storage_task::StorageType;
|
|||
use profile_traits::mem::ProfilerChan as MemProfilerChan;
|
||||
use profile_traits::time::ProfilerChan as TimeProfilerChan;
|
||||
use script_task::ScriptChan;
|
||||
use script_traits::{ScriptMsg, TimerEventId, TimerSource, UntrustedNodeAddress};
|
||||
use script_traits::{LayoutMsg, ScriptMsg, TimerEventId, TimerSource, UntrustedNodeAddress};
|
||||
use selectors::parser::PseudoElement;
|
||||
use selectors::states::*;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
@ -306,6 +306,13 @@ impl JSTraceable for ConstellationChan<ScriptMsg> {
|
|||
}
|
||||
}
|
||||
|
||||
impl JSTraceable for ConstellationChan<LayoutMsg> {
|
||||
#[inline]
|
||||
fn trace(&self, _trc: *mut JSTracer) {
|
||||
// Do nothing
|
||||
}
|
||||
}
|
||||
|
||||
impl JSTraceable for Box<ScriptChan + Send> {
|
||||
#[inline]
|
||||
fn trace(&self, _trc: *mut JSTracer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue