summaryrefslogtreecommitdiff
path: root/core/fxge/android/cfx_androidfontinfo.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-08-17 23:52:57 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-17 23:52:57 +0000
commit032b3bed2b1888f1226e1d940fe41e9a09d2336c (patch)
treee0c98a9b06d76f141560923a3197b52927e27918 /core/fxge/android/cfx_androidfontinfo.cpp
parent2f113cac5ff28008c702898f41e691c8d233db5f (diff)
downloadpdfium-032b3bed2b1888f1226e1d940fe41e9a09d2336c.tar.xz
Ger rid of some #defines in Android font code.chromium/3528chromium/3527
Change-Id: Ia3f98fb166743c2a38954b279e3bbf96e5e09073 Reviewed-on: https://pdfium-review.googlesource.com/40591 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/android/cfx_androidfontinfo.cpp')
-rw-r--r--core/fxge/android/cfx_androidfontinfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fxge/android/cfx_androidfontinfo.cpp b/core/fxge/android/cfx_androidfontinfo.cpp
index 61d213edd6..20776414ab 100644
--- a/core/fxge/android/cfx_androidfontinfo.cpp
+++ b/core/fxge/android/cfx_androidfontinfo.cpp
@@ -45,8 +45,7 @@ void* CFX_AndroidFontInfo::MapFont(int weight,
dwStyle |= FXFONT_SCRIPT;
if (FontFamilyIsRoman(pitch_family))
dwStyle |= FXFONT_SERIF;
- return m_pFontMgr->CreateFont(face, charset, dwStyle,
- FPF_MATCHFONT_REPLACEANSI);
+ return m_pFontMgr->CreateFont(face, charset, dwStyle);
}
void* CFX_AndroidFontInfo::GetFont(const char* face) {