summaryrefslogtreecommitdiff
path: root/core/fpdfapi/font/cpdf_type3font.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-12-04 15:20:15 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-04 15:20:15 +0000
commitf8f19dc2c1b66fbcc2be837c324cab3df0ff3671 (patch)
tree42b1eca8d1ea5a8506844bd6b7ce062a1cd281a7 /core/fpdfapi/font/cpdf_type3font.h
parent85caeb903c239d0c80aec86241885eabc1de71fb (diff)
downloadpdfium-f8f19dc2c1b66fbcc2be837c324cab3df0ff3671.tar.xz
Fix nits in CPDF_Type3Font.
Change-Id: Ib922184ee844e66a0b29f49025e83e13eb81fdb8 Reviewed-on: https://pdfium-review.googlesource.com/20214 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi/font/cpdf_type3font.h')
-rw-r--r--core/fpdfapi/font/cpdf_type3font.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/font/cpdf_type3font.h b/core/fpdfapi/font/cpdf_type3font.h
index 913e0048a3..3f2e018c88 100644
--- a/core/fpdfapi/font/cpdf_type3font.h
+++ b/core/fpdfapi/font/cpdf_type3font.h
@@ -45,7 +45,7 @@ class CPDF_Type3Font : public CPDF_SimpleFont {
bool Load() override;
// CPDF_SimpleFont:
- void LoadGlyphMap() override {}
+ void LoadGlyphMap() override;
int m_CharWidthL[256];
UnownedPtr<CPDF_Dictionary> m_pCharProcs;
@@ -53,7 +53,7 @@ class CPDF_Type3Font : public CPDF_SimpleFont {
UnownedPtr<CPDF_Dictionary> m_pFontResources;
std::map<uint32_t, std::unique_ptr<CPDF_Type3Char>> m_CacheMap;
// The depth char loading is in, to avoid recurive calling LoadChar().
- int m_CharLoadingDepth;
+ int m_CharLoadingDepth = 0;
};
#endif // CORE_FPDFAPI_FONT_CPDF_TYPE3FONT_H_