mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
remove the ability to request for the title
This commit is contained in:
parent
82f65f6eb3
commit
88686690e5
7 changed files with 5 additions and 59 deletions
|
@ -463,7 +463,6 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
ShutdownState::NotShuttingDown) => {
|
||||
self.set_frame_tree(&frame_tree);
|
||||
self.send_viewport_rects();
|
||||
self.title_for_main_frame();
|
||||
}
|
||||
|
||||
(Msg::ScrollFragmentPoint(scroll_root_id, point, _),
|
||||
|
@ -1670,17 +1669,6 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
// TODO(gw): Access via WR.
|
||||
1.0
|
||||
}
|
||||
|
||||
pub fn title_for_main_frame(&self) {
|
||||
let root_pipeline_id = match self.root_pipeline {
|
||||
None => return,
|
||||
Some(ref root_pipeline) => root_pipeline.id,
|
||||
};
|
||||
let msg = ConstellationMsg::GetPipelineTitle(root_pipeline_id);
|
||||
if let Err(e) = self.constellation_chan.send(msg) {
|
||||
warn!("Failed to send pipeline title ({}).", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue