mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update WR (render notifier API changes).
This commit is contained in:
parent
99b5eac393
commit
1da9dc99b5
21 changed files with 88 additions and 31 deletions
|
@ -325,6 +325,10 @@ impl RenderNotifier {
|
|||
}
|
||||
|
||||
impl webrender_api::RenderNotifier for RenderNotifier {
|
||||
fn clone(&self) -> Box<webrender_api::RenderNotifier> {
|
||||
Box::new(RenderNotifier::new(self.compositor_proxy.clone()))
|
||||
}
|
||||
|
||||
fn new_frame_ready(&self) {
|
||||
self.compositor_proxy.recomposite(CompositingReason::NewWebRenderFrame);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue