зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1345461 - Adjust vector allocation. r=jrmuizel
--HG-- extra : rebase_source : 952dc8c19548913d77db77f4ad5c2fe036167794
This commit is contained in:
Родитель
f58f0bee15
Коммит
d48350696a
|
@ -1,3 +1,6 @@
|
|||
This directory contains the Graphite2 library release 1.3.9 from
|
||||
https://github.com/silnrsi/graphite/releases/download/1.3.9/graphite2-minimal-1.3.9.tgz
|
||||
See gfx/graphite2/moz-gr-update.sh for update procedure.
|
||||
|
||||
Cherry-picked post-1.3.9 commit 1ce331d5548b98ed8b818532b2556d6f2c7a3b83 to fix
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=1345461.
|
||||
|
|
|
@ -275,7 +275,7 @@ bool FeatureRef::applyValToFeature(uint32 val, Features & pDest) const
|
|||
else
|
||||
if (pDest.m_pMap!=&m_pFace->theSill().theFeatureMap())
|
||||
return false; //incompatible
|
||||
pDest.reserve(m_index);
|
||||
pDest.reserve(m_index + 1);
|
||||
pDest[m_index] &= ~m_mask;
|
||||
pDest[m_index] |= (uint32(val) << m_bits);
|
||||
return true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче