From a10e261ffd81512f26a7b8efdde9398b2d319130 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Wed, 5 Nov 2014 17:00:06 -0800 Subject: [PATCH] Small fix to variable name This is a more accurate name for the script pipeline. --- components/compositing/constellation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/compositing/constellation.rs b/components/compositing/constellation.rs index 513433ed780..20d3196ee3f 100644 --- a/components/compositing/constellation.rs +++ b/components/compositing/constellation.rs @@ -628,7 +628,7 @@ impl Constellation { source_url.port() == url.port()) && sandbox == IFrameUnsandboxed; // FIXME(tkuehn): Need to follow the standardized spec for checking same-origin // Reuse the script task if the URL is same-origin - let new_pipeline = if same_script { + let script_pipeline = if same_script { debug!("Constellation: loading same-origin iframe at {:?}", url); Some(source_pipeline.clone()) } else { @@ -639,7 +639,7 @@ impl Constellation { let pipeline = self.new_pipeline( next_pipeline_id, Some(subpage_id), - new_pipeline, + script_pipeline, LoadData::new(url) );