mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add a subpage_id field to NewLayoutInfo.
This commit is contained in:
parent
69172a1ae5
commit
b77869bd9a
2 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,7 @@ impl Pipeline {
|
||||||
let new_layout_info = NewLayoutInfo {
|
let new_layout_info = NewLayoutInfo {
|
||||||
old_pipeline_id: script_pipeline.id.clone(),
|
old_pipeline_id: script_pipeline.id.clone(),
|
||||||
new_pipeline_id: id,
|
new_pipeline_id: id,
|
||||||
|
subpage_id: subpage_id,
|
||||||
layout_chan: layout_chan.clone(),
|
layout_chan: layout_chan.clone(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -93,6 +93,7 @@ pub enum ScriptMsg {
|
||||||
pub struct NewLayoutInfo {
|
pub struct NewLayoutInfo {
|
||||||
pub old_pipeline_id: PipelineId,
|
pub old_pipeline_id: PipelineId,
|
||||||
pub new_pipeline_id: PipelineId,
|
pub new_pipeline_id: PipelineId,
|
||||||
|
pub subpage_id: SubpageId,
|
||||||
pub layout_chan: LayoutChan,
|
pub layout_chan: LayoutChan,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -784,6 +785,7 @@ impl ScriptTask {
|
||||||
let NewLayoutInfo {
|
let NewLayoutInfo {
|
||||||
old_pipeline_id,
|
old_pipeline_id,
|
||||||
new_pipeline_id,
|
new_pipeline_id,
|
||||||
|
subpage_id,
|
||||||
layout_chan
|
layout_chan
|
||||||
} = new_layout_info;
|
} = new_layout_info;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue