Roll sfntly to 54 to address root cause of 92270. Fix leak in our usage of sfntly.

BUG=92270
TEST=none


Review URL: http://codereview.chromium.org/7670020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97102 0039d316-1c4b-4281-b951-d872f2087c98
parent cc5bd6e2
...@@ -21,7 +21,7 @@ vars = { ...@@ -21,7 +21,7 @@ vars = {
"libjingle_revision": "77", "libjingle_revision": "77",
"libvpx_revision": "96377", "libvpx_revision": "96377",
"ffmpeg_revision": "96868", "ffmpeg_revision": "96868",
"sfntly_revision": "43", "sfntly_revision": "54",
"skia_revision": "2123", "skia_revision": "2123",
"v8_revision": "8933", "v8_revision": "8933",
"webrtc_revision": "242", "webrtc_revision": "242",
......
...@@ -173,6 +173,7 @@ bool SubsetterImpl::HasName(const char* font_name, Font* font) { ...@@ -173,6 +173,7 @@ bool SubsetterImpl::HasName(const char* font_name, Font* font) {
name_table->NameId(i)); name_table->NameId(i));
UChar* name_part = name_table->Name(i); UChar* name_part = name_table->Name(i);
ConstructName(name_part, &(names[hash_code]), name_table->NameId(i)); ConstructName(name_part, &(names[hash_code]), name_table->NameId(i));
delete[] name_part;
break; break;
} }
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment