зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1682566 - Work around rust miscompilation in webrender on arm64 mac with bug 1682365. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D99986
This commit is contained in:
Родитель
f8d91b3556
Коммит
84ee1a3dd8
|
@ -1212,8 +1212,12 @@ impl BatchBuilder {
|
|||
render_tasks,
|
||||
).unwrap();
|
||||
|
||||
// The run.used_font.clone() is here instead of instead of inline in the `fetch_glyph`
|
||||
// function call to work around a miscompilation.
|
||||
// https://github.com/rust-lang/rust/issues/80111
|
||||
let font = run.used_font.clone();
|
||||
ctx.resource_cache.fetch_glyphs(
|
||||
run.used_font.clone(),
|
||||
font,
|
||||
&glyph_keys,
|
||||
&mut self.glyph_fetch_buffer,
|
||||
gpu_cache,
|
||||
|
|
Загрузка…
Ссылка в новой задаче