mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Rename gfx::paint_task::Msg
This commit is contained in:
parent
7ff790d941
commit
79722bdc03
3 changed files with 9 additions and 9 deletions
|
@ -68,8 +68,8 @@ pub struct PaintRequest {
|
|||
}
|
||||
|
||||
pub enum Msg {
|
||||
RenderInitMsg(Arc<StackingContext>),
|
||||
RenderMsg(Vec<PaintRequest>),
|
||||
PaintInitMsg(Arc<StackingContext>),
|
||||
PaintMsg(Vec<PaintRequest>),
|
||||
UnusedBufferMsg(Vec<Box<LayerBuffer>>),
|
||||
PaintPermissionGranted,
|
||||
PaintPermissionRevoked,
|
||||
|
@ -227,7 +227,7 @@ impl<C> PaintTask<C> where C: RenderListener + Send {
|
|||
|
||||
loop {
|
||||
match self.port.recv() {
|
||||
RenderInitMsg(stacking_context) => {
|
||||
PaintInitMsg(stacking_context) => {
|
||||
self.epoch.next();
|
||||
self.root_stacking_context = Some(stacking_context.clone());
|
||||
|
||||
|
@ -243,7 +243,7 @@ impl<C> PaintTask<C> where C: RenderListener + Send {
|
|||
self.epoch,
|
||||
&*stacking_context);
|
||||
}
|
||||
RenderMsg(requests) => {
|
||||
PaintMsg(requests) => {
|
||||
if !self.paint_permission {
|
||||
debug!("paint_task: render ready msg");
|
||||
let ConstellationChan(ref mut c) = self.constellation_chan;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue