Update webrender for latest RenderNotifier changes.

This commit is contained in:
Josh Matthews 2017-10-20 16:45:34 -04:00 committed by Glenn Watson
parent a296e386af
commit 99b5eac393
4 changed files with 13 additions and 23 deletions

View file

@ -107,12 +107,8 @@ impl CompositorReceiver {
}
}
pub trait RenderListener {
fn recomposite(&mut self, reason: CompositingReason);
}
impl RenderListener for CompositorProxy {
fn recomposite(&mut self, reason: CompositingReason) {
impl CompositorProxy {
pub fn recomposite(&self, reason: CompositingReason) {
self.send(Msg::Recomposite(reason));
}
}