Bug 1454623 - Update for API change in WR PR 2676. r=jrmuizel
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 23 Apr 2018 09:38:23 -0400
changeset 468574 b9be7c48e35a7794e26b75da869d84e6a9761431
parent 468573 b5ad262142e36b66513bcce102acf6d4949b47c0
child 468575 b094c196229b40cbf044771c45fbb03b065dc557
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1454623
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1454623 - Update for API change in WR PR 2676. r=jrmuizel MozReview-Commit-ID: Fp8kAsdMNAE
gfx/webrender_bindings/src/moz2d_renderer.rs
--- a/gfx/webrender_bindings/src/moz2d_renderer.rs
+++ b/gfx/webrender_bindings/src/moz2d_renderer.rs
@@ -488,16 +488,19 @@ impl BlobImageRenderer for Moz2dImageRen
         Err(BlobImageError::Other("Channel closed".into()))
     }
     fn delete_font(&mut self, font: FontKey) {
         unsafe { DeleteFontData(font); }
     }
 
     fn delete_font_instance(&mut self, _key: FontInstanceKey) {
     }
+
+    fn clear_namespace(&mut self, _namespace: IdNamespace) {
+    }
 }
 
 use bindings::WrFontKey;
 
 #[allow(improper_ctypes)] // this is needed so that rustc doesn't complain about passing the &Arc<Vec> to an extern function
 extern "C" {
     fn AddFontData(key: WrFontKey, data: *const u8, size: usize, index: u32, vec: &ArcVecU8);
     fn AddNativeFontHandle(key: WrFontKey, handle: *mut c_void, index: u32);