mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make Azure backend build again.
This commit is contained in:
parent
3539c029f1
commit
ce18636aef
3 changed files with 66 additions and 65 deletions
|
@ -59,7 +59,10 @@ impl Backend for RaqoteBackend {
|
|||
}
|
||||
|
||||
fn create_drawtarget(&self, size: Size2D<u64>) -> Box<GenericDrawTarget> {
|
||||
Box::new(raqote::DrawTarget::new(size.width as i32, size.height as i32))
|
||||
Box::new(raqote::DrawTarget::new(
|
||||
size.width as i32,
|
||||
size.height as i32,
|
||||
))
|
||||
}
|
||||
|
||||
fn recreate_paint_state<'a>(&self, _state: &CanvasPaintState<'a>) -> CanvasPaintState<'a> {
|
||||
|
@ -136,7 +139,12 @@ impl GenericDrawTarget for raqote::DrawTarget {
|
|||
unimplemented!()
|
||||
}
|
||||
|
||||
fn copy_surface(&self, _surface: SourceSurface, _source: Rect<i32>, _destination: Point2D<i32>) {
|
||||
fn copy_surface(
|
||||
&self,
|
||||
_surface: SourceSurface,
|
||||
_source: Rect<i32>,
|
||||
_destination: Point2D<i32>,
|
||||
) {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
|
@ -244,7 +252,11 @@ impl GenericDrawTarget for raqote::DrawTarget {
|
|||
unimplemented!()
|
||||
}
|
||||
|
||||
fn snapshot_data(&self) -> Vec<u8> {
|
||||
fn snapshot_data(&self, _f: &Fn(&[u8]) -> Vec<u8>) -> Vec<u8> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn snapshot_data_owned(&self) -> Vec<u8> {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue