summaryrefslogtreecommitdiff
path: root/xfa/fgas/font/fgas_stdfontmgr.h
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-06-20 11:41:56 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-20 11:41:56 -0700
commit4701fcddeddfef7bccbceaf0f439dee82c3639f0 (patch)
treecdad6c0635837c9ff4d4fcfa3ad192640d4dd9d2 /xfa/fgas/font/fgas_stdfontmgr.h
parentbff506d3b5e03891c137d9fe18f65cae112ebf2a (diff)
downloadpdfium-4701fcddeddfef7bccbceaf0f439dee82c3639f0.tar.xz
Fix clang_use_chrome_plugin for Mac and Skia builds
These changes are specific to Mac and Skia builds. They are needed for these builds to compile with clang_use_chrome_plugin. BUG=pdfium:469 Review-Url: https://codereview.chromium.org/2081523002
Diffstat (limited to 'xfa/fgas/font/fgas_stdfontmgr.h')
-rw-r--r--xfa/fgas/font/fgas_stdfontmgr.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fgas/font/fgas_stdfontmgr.h b/xfa/fgas/font/fgas_stdfontmgr.h
index 11d91fc7f5..66b1412d10 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();