Nikolay Sivov : dwrite: Remove unused field from fontface data structure.
Alexandre Julliard
julliard at winehq.org
Tue Jun 9 15:27:48 CDT 2020
Module: wine
Branch: master
Commit: 1cfa1c6930867bb32e2b78a16b95daac07327958
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1cfa1c6930867bb32e2b78a16b95daac07327958
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Jun 9 12:14:36 2020 +0300
dwrite: Remove unused field from fontface data structure.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dwrite/dwrite_private.h | 1 -
dlls/dwrite/font.c | 3 ---
2 files changed, 4 deletions(-)
diff --git a/dlls/dwrite/dwrite_private.h b/dlls/dwrite/dwrite_private.h
index 2d736fdec3..5e6946717b 100644
--- a/dlls/dwrite/dwrite_private.h
+++ b/dlls/dwrite/dwrite_private.h
@@ -262,7 +262,6 @@ struct dwrite_fontface
INT charmap;
UINT32 flags;
- struct dwrite_fonttable cmap;
struct dwrite_fonttable vdmx;
struct dwrite_fonttable gasp;
struct dwrite_fonttable cpal;
diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index dbb44327f2..f180ba765b 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -585,8 +585,6 @@ static ULONG WINAPI dwritefontface_Release(IDWriteFontFace5 *iface)
heap_free(fontface->cached);
}
release_scriptshaping_cache(fontface->shaping_cache);
- if (fontface->cmap.context)
- IDWriteFontFace5_ReleaseFontTable(iface, fontface->cmap.context);
if (fontface->vdmx.context)
IDWriteFontFace5_ReleaseFontTable(iface, fontface->vdmx.context);
if (fontface->gasp.context)
@@ -4906,7 +4904,6 @@ HRESULT create_fontface(const struct fontface_desc *desc, struct list *cached_li
fontface->refcount = 1;
fontface->type = desc->face_type;
fontface->file_count = desc->files_number;
- fontface->cmap.exists = TRUE;
fontface->vdmx.exists = TRUE;
fontface->gasp.exists = TRUE;
fontface->cpal.exists = TRUE;
More information about the wine-cvs
mailing list