mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
Remove this==NULL check from face->reference_table()
Not supposed to happen, and apparently this is undefined in C++. https://code.google.com/p/chromium/issues/detail?id=403594
This commit is contained in:
1 parent
cd7ea4f791
commit
cc3b2d432b
1 file changed
+1
-1
@@ -66,7 +66,7 @@ struct hb_face_t {
|
||||
{
|
||||
hb_blob_t *blob;
|
||||
|
||||
if (unlikely (!this || !reference_table_func))
|
||||
if (unlikely (!reference_table_func))
|
||||
return hb_blob_get_empty ();
|
||||
|
||||
blob = reference_table_func (/*XXX*/const_cast<hb_face_t *> (this), tag, user_data);
|
||||
|
||||
Reference in new issue
Block a user