Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: xfa/fgas/font/fgas_stdfontmgr.h

Issue 2081523002: Fix clang_use_chrome_plugin for Mac and Skia builds (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: changes for skia Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: xfa/fgas/font/fgas_stdfontmgr.h
diff --git a/xfa/fgas/font/fgas_stdfontmgr.h b/xfa/fgas/font/fgas_stdfontmgr.h
index 11d91fc7f5e99ae3b51e64d1d5854552e6350bd2..66b1412d10ffdcc2f03ef3b70dda631d3363e430 100644
--- a/xfa/fgas/font/fgas_stdfontmgr.h
+++ b/xfa/fgas/font/fgas_stdfontmgr.h
@@ -82,11 +82,8 @@ uint32_t FX_GetGdiFontStyles(const LOGFONTW& lf);
class CFX_FontDescriptor {
public:
- CFX_FontDescriptor() : m_nFaceIndex(0), m_dwFontStyles(0) {
- m_dwUsb[0] = m_dwUsb[1] = m_dwUsb[2] = m_dwUsb[3] = 0;
- m_dwCsb[0] = m_dwCsb[1] = 0;
- }
- ~CFX_FontDescriptor() {}
+ CFX_FontDescriptor();
+ ~CFX_FontDescriptor();
int32_t m_nFaceIndex;
CFX_WideString m_wsFaceName;
@@ -95,6 +92,7 @@ class CFX_FontDescriptor {
uint32_t m_dwUsb[4];
uint32_t m_dwCsb[2];
};
+
typedef CFX_ArrayTemplate<CFX_FontDescriptor*> CFX_FontDescriptors;
struct FX_FontDescriptorInfo {
@@ -112,6 +110,7 @@ struct FX_FontDescriptorInfo {
return nPenalty == other.nPenalty;
}
};
+
typedef CFX_ArrayTemplate<FX_FontDescriptorInfo> CFX_FontDescriptorInfos;
struct FX_HandleParentPath {
@@ -127,6 +126,7 @@ struct FX_HandleParentPath {
class CFX_FontSourceEnum_File {
public:
CFX_FontSourceEnum_File();
+ ~CFX_FontSourceEnum_File();
void Release() { delete this; }
FX_POSITION GetStartPosition();

Powered by Google App Engine
This is Rietveld 408576698