Remove set_webrenderer_profiler_enabled in compositing/compositor.rs and servo/lib.rs and inlining this function in compositing/compositor.rs

This commit is contained in:
Tremoneck 2017-07-11 09:51:58 +02:00
parent e5e3748a46
commit 6309d516bd
2 changed files with 2 additions and 10 deletions

View file

@ -244,10 +244,6 @@ impl<Window> Browser<Window> where Window: WindowMethods + 'static {
self.compositor.handle_events(events)
}
pub fn set_webrender_profiler_enabled(&mut self, enabled: bool) {
self.compositor.set_webrender_profiler_enabled(enabled);
}
pub fn repaint_synchronously(&mut self) {
self.compositor.repaint_synchronously()
}