When sanitizing, delay making writable
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 23 Apr 2010 17:57:10 +0000 (13:57 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 23 Apr 2010 17:57:10 +0000 (13:57 -0400)
commit254933c397f1ce9796f59689a25f9fc2e58df4ea
treefa6580f5f2bfdc15a86c8eff001b85c4df768dd7
parent71e735e915c85536ee4d3035576f7426e8cd19dd
When sanitizing, delay making writable

Before, as soon as we needed to make an edit, we tried to make the blob
writable inplace.  That grows code unnecessarily though.  We can simply
fail, make writable, then start again.  That's indeed what the fallback
was doing anyway.
src/hb-open-type-private.hh