Bug 1409736 - Update for API change in WR PR 1903. r?jrmuizel draft
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 23 Oct 2017 09:49:14 -0400
changeset 684723 c2dc3ae0c0e2f1c3b804a6c0d9074373e750779e
parent 684722 5214052ea9d52fdb4a0994f91f051ca36c8728bc
child 684724 709db0dd529ebf781942e417c29c45a474b70b63
push id85704
push userkgupta@mozilla.com
push dateMon, 23 Oct 2017 13:50:55 +0000
reviewersjrmuizel
bugs1409736
milestone58.0a1
Bug 1409736 - Update for API change in WR PR 1903. r?jrmuizel MozReview-Commit-ID: DsecmGOCWXI
gfx/webrender_bindings/src/moz2d_renderer.rs
--- a/gfx/webrender_bindings/src/moz2d_renderer.rs
+++ b/gfx/webrender_bindings/src/moz2d_renderer.rs
@@ -26,17 +26,17 @@ fn option_to_nullable<T>(option: &Option
     }
 }
 
 impl BlobImageRenderer for Moz2dImageRenderer {
     fn add(&mut self, key: ImageKey, data: BlobImageData, tiling: Option<TileSize>) {
         self.blob_commands.insert(key, (Arc::new(data), tiling));
     }
 
-    fn update(&mut self, key: ImageKey, data: BlobImageData) {
+    fn update(&mut self, key: ImageKey, data: BlobImageData, _dirty_rect: Option<DeviceUintRect>) {
         let entry = self.blob_commands.get_mut(&key).unwrap();
         entry.0 = Arc::new(data);
     }
 
     fn delete(&mut self, key: ImageKey) {
         self.blob_commands.remove(&key);
     }