Bug 1456114 - Update for API change in WR PR 2691. r=jrmuizel
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 26 Apr 2018 14:15:40 -0400
changeset 415879 f9ccedc72c1530b395cfa6bfc9ed38f3b66627db
parent 415878 fc48159d0642b9e6c258a671824a64f20d1bdfed
child 415880 8ac380929a557b50ef89ff03698429e02d7aa3b8
push id33911
push usercsabou@mozilla.com
push dateFri, 27 Apr 2018 10:01:39 +0000
treeherdermozilla-central@822936017145 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1456114
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 1456114 - Update for API change in WR PR 2691. r=jrmuizel MozReview-Commit-ID: Eb1wFVY39uu
gfx/webrender_bindings/src/bindings.rs
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -509,20 +509,20 @@ impl RenderNotifier for CppNotifier {
     }
 
     fn wake_up(&self) {
         unsafe {
             wr_notifier_wake_up(self.window_id);
         }
     }
 
-    fn new_document_ready(&self,
-                          _: DocumentId,
-                          scrolled: bool,
-                          composite_needed: bool) {
+    fn new_frame_ready(&self,
+                       _: DocumentId,
+                       scrolled: bool,
+                       composite_needed: bool) {
         unsafe {
             if scrolled {
                 wr_notifier_new_scroll_frame_ready(self.window_id, composite_needed);
             } else if composite_needed {
                 wr_notifier_new_frame_ready(self.window_id);
             }
         }
     }