Make change page url message consistent with other compositor messages.

This doesn't have any effect on functionality, it just simplifies a few upcoming changes with how FrameIds work.
This commit is contained in:
Glenn Watson 2015-03-11 08:54:36 +10:00
parent e8f1a046c6
commit 3befc8ce0b
3 changed files with 6 additions and 6 deletions

View file

@ -335,7 +335,7 @@ impl NavigationContext {
fn set_current(&mut self, new_frame: Rc<FrameTree>, compositor_proxy: &mut CompositorProxy) {
self.current = Some(new_frame.clone());
compositor_proxy.send(CompositorMsg::ChangePageUrl(
new_frame.id,
new_frame.pipeline.borrow().id,
new_frame.pipeline.borrow().url.clone()));
}
}