summaryrefslogtreecommitdiff
path: root/fpdfsdk/formfiller/cba_fontmap.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-08-04 01:51:46 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-04 01:51:46 +0000
commitf21b88ef08d6f6d64e783f55819fc8b86c3b370e (patch)
treee9b361f3e4441bb028eee4da5ad2f47a9b93d930 /fpdfsdk/formfiller/cba_fontmap.h
parente819c2057ffdea90fef40d5801aec22ecd8571cd (diff)
downloadpdfium-f21b88ef08d6f6d64e783f55819fc8b86c3b370e.tar.xz
Do more CBA_FontMap initialization in the ctor and header.
Change-Id: I705a49198a91b67aa403beea4446095a6a359259 Reviewed-on: https://pdfium-review.googlesource.com/39415 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/formfiller/cba_fontmap.h')
-rw-r--r--fpdfsdk/formfiller/cba_fontmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/formfiller/cba_fontmap.h b/fpdfsdk/formfiller/cba_fontmap.h
index 9d9f2e002a..0ca07eb984 100644
--- a/fpdfsdk/formfiller/cba_fontmap.h
+++ b/fpdfsdk/formfiller/cba_fontmap.h
@@ -36,11 +36,11 @@ class CBA_FontMap : public CPWL_FontMap {
CPDF_Font* GetAnnotDefaultFont(ByteString* csNameTag);
void AddFontToAnnotDict(CPDF_Font* pFont, const ByteString& sAlias);
- UnownedPtr<CPDF_Document> m_pDocument;
- UnownedPtr<CPDF_Dictionary> m_pAnnotDict;
+ UnownedPtr<CPDF_Document> const m_pDocument;
+ UnownedPtr<CPDF_Dictionary> const m_pAnnotDict;
UnownedPtr<CPDF_Font> m_pDefaultFont;
ByteString m_sDefaultFontName;
- ByteString m_sAPType;
+ ByteString m_sAPType = "N";
};
#endif // FPDFSDK_FORMFILLER_CBA_FONTMAP_H_