From b77869bd9ab404d17941e17280db0b0a7184ee68 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Wed, 14 May 2014 12:50:26 +0200 Subject: [PATCH] Add a subpage_id field to NewLayoutInfo. --- src/components/main/pipeline.rs | 1 + src/components/script/script_task.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/components/main/pipeline.rs b/src/components/main/pipeline.rs index f32214ae181..02da6479e5f 100644 --- a/src/components/main/pipeline.rs +++ b/src/components/main/pipeline.rs @@ -88,6 +88,7 @@ impl Pipeline { let new_layout_info = NewLayoutInfo { old_pipeline_id: script_pipeline.id.clone(), new_pipeline_id: id, + subpage_id: subpage_id, layout_chan: layout_chan.clone(), }; diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index 6c2d8032a21..470a39822de 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -93,6 +93,7 @@ pub enum ScriptMsg { pub struct NewLayoutInfo { pub old_pipeline_id: PipelineId, pub new_pipeline_id: PipelineId, + pub subpage_id: SubpageId, pub layout_chan: LayoutChan, } @@ -784,6 +785,7 @@ impl ScriptTask { let NewLayoutInfo { old_pipeline_id, new_pipeline_id, + subpage_id, layout_chan } = new_layout_info;