aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-05-14 12:50:26 +0200
committerMs2ger <ms2ger@gmail.com>2014-05-14 12:50:26 +0200
commitb77869bd9ab404d17941e17280db0b0a7184ee68 (patch)
tree24f8df5c95586fb039f6d9e5b70f1f8f453a5800 /src/components/script/script_task.rs
parent69172a1ae5d7187c4fe18e3a0d6d8732753a3d56 (diff)
downloadservo-b77869bd9ab404d17941e17280db0b0a7184ee68.tar.gz
servo-b77869bd9ab404d17941e17280db0b0a7184ee68.zip
Add a subpage_id field to NewLayoutInfo.
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r--src/components/script/script_task.rs2
1 files changed, 2 insertions, 0 deletions
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;