Bug 1447286 - Add dummy callback implementation for API change in WR PR 2550. r?jrmuizel draft
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 22 Mar 2018 10:28:46 -0400
changeset 771135 a93b06905b70bab64e907525360149d4891b3214
parent 771134 f708a8ce461d54056a06c43c698341ab5eb11fc6
child 771136 a70f9abffdf78f3b0c5c73bf69a638c3b95d0210
push id103574
push userkgupta@mozilla.com
push dateThu, 22 Mar 2018 14:29:33 +0000
reviewersjrmuizel
bugs1447286
milestone61.0a1
Bug 1447286 - Add dummy callback implementation for API change in WR PR 2550. r?jrmuizel MozReview-Commit-ID: 4nGoyNIFCFf
gfx/webrender_bindings/src/bindings.rs
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -666,16 +666,19 @@ impl ThreadListener for GeckoProfilerThr
         }
     }
 
     fn thread_stopped(&self, _: &str) {
         unsafe {
             gecko_profiler_unregister_thread();
         }
     }
+
+    fn new_render_backend_thread(&self, _renderer_id: Option<u64>) {
+    }
 }
 
 pub struct WrThreadPool(Arc<rayon::ThreadPool>);
 
 #[no_mangle]
 pub unsafe extern "C" fn wr_thread_pool_new() -> *mut WrThreadPool {
     let worker = rayon::ThreadPoolBuilder::new()
         .thread_name(|idx|{ format!("WRWorker#{}", idx) })