diff --git a/Cargo.toml b/Cargo.toml index 8633e7c72fe9..97e2f43df594 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,4 +28,3 @@ opt-level = 3 # Those are here to dedupe winapi since mio is still using winapi 0.2. mio = { git = "https://github.com/servo/mio.git", branch = "servo" } iovec = { git = "https://github.com/servo/iovec.git", branch = "servo" } - diff --git a/components/canvas/raqote_backend.rs b/components/canvas/raqote_backend.rs index 2aea31ad460d..4b789aac30ab 100644 --- a/components/canvas/raqote_backend.rs +++ b/components/canvas/raqote_backend.rs @@ -333,7 +333,7 @@ impl GenericDrawTarget for raqote::DrawTarget { raqote::DrawTarget::fill(self, &pb.finish(), pattern.as_raqote(), &draw_options); } fn get_format(&self) -> SurfaceFormat { - unimplemented!(); + SurfaceFormat::Raqote(()) } fn get_size(&self) -> Size2D { Size2D::new(self.width(), self.height())