summaryrefslogtreecommitdiff
path: root/core/fpdfapi/font
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-01-26 19:58:00 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-26 19:58:00 +0000
commitc68e08113892daf681e1f4b73e0c420110dfeb6e (patch)
treecb029e2b018aad4b8ef679e6c901f757c67f6199 /core/fpdfapi/font
parent4b9d69806c30775f55563e72b0842daa06483f99 (diff)
downloadpdfium-c68e08113892daf681e1f4b73e0c420110dfeb6e.tar.xz
Pass nullptr to ParseContentWithParams() instead of 0.
Change-Id: I4ec48652d41cea9a79b6711c08484965ceea7587 Reviewed-on: https://pdfium-review.googlesource.com/24130 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/font')
-rw-r--r--core/fpdfapi/font/cpdf_type3font.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/font/cpdf_type3font.cpp b/core/fpdfapi/font/cpdf_type3font.cpp
index c328c1020d..b3eaef0e06 100644
--- a/core/fpdfapi/font/cpdf_type3font.cpp
+++ b/core/fpdfapi/font/cpdf_type3font.cpp
@@ -115,7 +115,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->form()->ParseContentWithParams(nullptr, nullptr, pNewChar.get(), 0);
+ pNewChar->form()->ParseContentWithParams(nullptr, nullptr, pNewChar.get(),
+ nullptr);
m_CharLoadingDepth--;
it = m_CacheMap.find(charcode);
if (it != m_CacheMap.end())