diff --git a/components/compositing/constellation.rs b/components/compositing/constellation.rs index af94cea02e9..750c124a13a 100644 --- a/components/compositing/constellation.rs +++ b/components/compositing/constellation.rs @@ -519,8 +519,9 @@ impl Constellation { fn handle_init_load(&mut self, url: Url) { let window_rect = Rect(Point2D::zero(), self.window_size.visible_viewport); let root_pipeline_id = - self.new_pipeline(None, Some(window_rect), None, LoadData::new(url)); + self.new_pipeline(None, Some(window_rect), None, LoadData::new(url.clone())); self.push_pending_frame(root_pipeline_id, None); + self.compositor_proxy.send(CompositorMsg::ChangePageUrl(root_pipeline_id, url)); } fn handle_frame_rect_msg(&mut self, containing_pipeline_id: PipelineId, subpage_id: SubpageId,