diff options
author | Lei Zhang <thestig@chromium.org> | 2017-08-28 18:09:38 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-31 15:35:08 +0000 |
commit | af59cf16b40b6243a2194ced3e5f476ec655edb3 (patch) | |
tree | b88fac856dd70edb25d21e14b61b434f5e17cefa /core/fpdfapi/font | |
parent | d120920fe18bcfa3c102ecd0c7502c00d5f0425a (diff) | |
download | pdfium-af59cf16b40b6243a2194ced3e5f476ec655edb3.tar.xz |
Change CPDF_Form::ParseContent() to ParseContentWithParams().
Add a new ParseContent() method as a convenience to call
ParseContentWithParams() with the default parameters.
Change-Id: I274682845a72e125c3fc6299289edb760104ac4d
Reviewed-on: https://pdfium-review.googlesource.com/12250
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi/font')
-rw-r--r-- | core/fpdfapi/font/cpdf_type3font.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/font/cpdf_type3font.cpp b/core/fpdfapi/font/cpdf_type3font.cpp index e13deaa56b..2af1dac44f 100644 --- a/core/fpdfapi/font/cpdf_type3font.cpp +++ b/core/fpdfapi/font/cpdf_type3font.cpp @@ -114,7 +114,8 @@ CPDF_Type3Char* CPDF_Type3Font::LoadChar(uint32_t charcode) { // can change as a result. Thus after it returns, check the cache again for // a cache hit. m_CharLoadingDepth++; - pNewChar->m_pForm->ParseContent(nullptr, nullptr, pNewChar.get()); + pNewChar->m_pForm->ParseContentWithParams(nullptr, nullptr, pNewChar.get(), + 0); m_CharLoadingDepth--; it = m_CacheMap.find(charcode); if (it != m_CacheMap.end()) |