summaryrefslogtreecommitdiff
path: root/core/fpdfdoc
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-08-14 19:10:53 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-14 19:10:53 +0000
commit9e4a66449a227ca2a9e62d2f83fdc35f11bb5e2d (patch)
tree676fa9b51b383b3d3f0e45b3e655e4a1c8ff9c1d /core/fpdfdoc
parent87fdbc371e023be8aa996e5aa5485524818c8a07 (diff)
downloadpdfium-9e4a66449a227ca2a9e62d2f83fdc35f11bb5e2d.tar.xz
Remove unused form/args of AddWindowsFont()
Change-Id: I38b508b5518568ff134b70e0e494e5267571c1ca Reviewed-on: https://pdfium-review.googlesource.com/40110 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfdoc')
-rw-r--r--core/fpdfdoc/cpdf_interform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_interform.cpp b/core/fpdfdoc/cpdf_interform.cpp
index 8054aa8eb0..953c96234c 100644
--- a/core/fpdfdoc/cpdf_interform.cpp
+++ b/core/fpdfdoc/cpdf_interform.cpp
@@ -688,7 +688,7 @@ CPDF_Font* CPDF_InterForm::AddNativeFont(uint8_t charSet,
if (!csFontName.IsEmpty()) {
if (csFontName == CFX_Font::kDefaultAnsiFontName)
return AddStandardFont(pDocument, csFontName);
- return pDocument->AddWindowsFont(&lf, false, true);
+ return pDocument->AddWindowsFont(&lf);
}
#endif
return nullptr;