mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove the ConstellationControlMsg::ReflowComplete message.
This commit is contained in:
parent
2456ddf4ba
commit
9ad69586d1
3 changed files with 0 additions and 8 deletions
|
@ -1281,11 +1281,7 @@ impl LayoutTask {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tell script that we're done.
|
// Tell script that we're done.
|
||||||
//
|
|
||||||
// FIXME(pcwalton): This should probably be *one* channel, but we can't fix this without
|
|
||||||
// either select or a filtered recv() that only looks for messages of a given type.
|
|
||||||
data.script_join_chan.send(()).unwrap();
|
data.script_join_chan.send(()).unwrap();
|
||||||
data.script_chan.send(ConstellationControlMsg::ReflowComplete(self.id, data.id)).unwrap();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_visible_rects<'a>(&'a self,
|
fn set_visible_rects<'a>(&'a self,
|
||||||
|
|
|
@ -935,8 +935,6 @@ impl ScriptTask {
|
||||||
self.handle_navigate(pipeline_id, Some(subpage_id), load_data),
|
self.handle_navigate(pipeline_id, Some(subpage_id), load_data),
|
||||||
ConstellationControlMsg::SendEvent(id, event) =>
|
ConstellationControlMsg::SendEvent(id, event) =>
|
||||||
self.handle_event(id, event),
|
self.handle_event(id, event),
|
||||||
ConstellationControlMsg::ReflowComplete(_id, _reflow_id) =>
|
|
||||||
(),
|
|
||||||
ConstellationControlMsg::ResizeInactive(id, new_size) =>
|
ConstellationControlMsg::ResizeInactive(id, new_size) =>
|
||||||
self.handle_resize_inactive_msg(id, new_size),
|
self.handle_resize_inactive_msg(id, new_size),
|
||||||
ConstellationControlMsg::Viewport(..) =>
|
ConstellationControlMsg::Viewport(..) =>
|
||||||
|
|
|
@ -118,8 +118,6 @@ pub enum ConstellationControlMsg {
|
||||||
ExitPipeline(PipelineId, PipelineExitType),
|
ExitPipeline(PipelineId, PipelineExitType),
|
||||||
/// Sends a DOM event.
|
/// Sends a DOM event.
|
||||||
SendEvent(PipelineId, CompositorEvent),
|
SendEvent(PipelineId, CompositorEvent),
|
||||||
/// Notifies script that reflow is finished.
|
|
||||||
ReflowComplete(PipelineId, u32),
|
|
||||||
/// Notifies script of the viewport.
|
/// Notifies script of the viewport.
|
||||||
Viewport(PipelineId, Rect<f32>),
|
Viewport(PipelineId, Rect<f32>),
|
||||||
/// Requests that the script task immediately send the constellation the title of a pipeline.
|
/// Requests that the script task immediately send the constellation the title of a pipeline.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue