Bug 1503527 - Update webrender to commit 1928351fe1169c4183df02039b3d541dc36de39e (WR PR 3250). r=kats

Differential Revision: https://phabricator.services.mozilla.com/D10544

--HG--
extra : moz-landing-system : lando
This commit is contained in:
WR Updater Bot 2018-11-01 12:16:44 +00:00
parent 11efeff5dc
commit fd9b593246
2 changed files with 15 additions and 1 deletions

View File

@ -1202,6 +1202,20 @@ impl ResourceCache {
);
tiles.retain(|tile, _| { tile_range.contains(tile) });
let texture_cache = &mut self.texture_cache;
match self.cached_images.try_get_mut(&key) {
Some(&mut ImageResult::Multi(ref mut entries)) => {
entries.retain(|key, entry| {
if key.tile.is_none() || tile_range.contains(&key.tile.unwrap()) {
return true;
}
texture_cache.mark_unused(&entry.texture_cache_handle);
return false;
});
}
_ => {}
}
}
pub fn request_glyphs(

View File

@ -1 +1 @@
8b941ca60014972f97ce240cb8a7afc1d6db3de6
1928351fe1169c4183df02039b3d541dc36de39e