Backed out changeset 51fdcc41076f (bug 1454659) for browser-chrome leaks. CLOSED TREE
authorCsoregi Natalia <ncsoregi@mozilla.com>
Tue, 17 Apr 2018 22:58:43 +0300
changeset 414186 393b0712839a81d77e5b1a67dcb34d59e0c28c36
parent 414185 b4fd09d03e9d082dc02aaa2a212d454fb1643ca1
child 414187 10424496394b06514993cd78c6521ef100795ebf
push id33861
push userccoroiu@mozilla.com
push dateWed, 18 Apr 2018 10:50:38 +0000
treeherdermozilla-central@4af4ae0aee55 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1454659
milestone61.0a1
backs out51fdcc41076f7b3f555af5a9a2b8cc35ead7650e
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
Backed out changeset 51fdcc41076f (bug 1454659) for browser-chrome leaks. CLOSED TREE
gfx/webrender_bindings/src/moz2d_renderer.rs
--- a/gfx/webrender_bindings/src/moz2d_renderer.rs
+++ b/gfx/webrender_bindings/src/moz2d_renderer.rs
@@ -416,16 +416,17 @@ impl BlobImageRenderer for Moz2dImageRen
                         process_native_font_handle(key, handle);
                     }
                 }
                 resources.get_font_data(key);
             }
         }
         {
             let mut index = BlobReader::new(&commands);
+            assert!(index.reader.pos < index.reader.buf.len());
             while index.reader.pos < index.reader.buf.len() {
                 let e  = index.read_entry();
                 process_fonts(BufReader::new(&commands[e.end..e.extra_end]), resources);
             }
         }
 
         self.workers.spawn(move || {
             let buf_size = (descriptor.width