[pango/harfbuzz-ng: 5/57] [HB] Adapt to new buffer API
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pango/harfbuzz-ng: 5/57] [HB] Adapt to new buffer API
- Date: Tue, 4 Aug 2009 20:01:46 +0000 (UTC)
commit 11c229d522b9bda910805d571eb29a564b81e926
Author: Behdad Esfahbod <behdad behdad org>
Date: Tue Jul 28 15:50:58 2009 -0400
[HB] Adapt to new buffer API
pango/pango-ot-buffer.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c
index 49a1e1d..a977e7d 100644
--- a/pango/pango-ot-buffer.c
+++ b/pango/pango-ot-buffer.c
@@ -36,14 +36,14 @@ acquire_buffer (gboolean *free_buffer)
if (G_LIKELY (G_TRYLOCK (cached_buffer)))
{
if (G_UNLIKELY (!cached_buffer))
- cached_buffer = hb_buffer_new ();
+ cached_buffer = hb_buffer_new (64);
buffer = cached_buffer;
*free_buffer = FALSE;
}
else
{
- buffer = hb_buffer_new ();
+ buffer = hb_buffer_new (32);
*free_buffer = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]