summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdf_sysfontinfo.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-13 11:22:54 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-13 11:22:54 -0700
commitd8b5e73d8609b74e6a995ee1768d20d47bd4b089 (patch)
tree12e6c733ed18c273a6f4442e8a711ee478646233 /fpdfsdk/src/fpdf_sysfontinfo.cpp
parente42e23f34f0a685d6765ba547a26cc2e601efefd (diff)
downloadpdfium-d8b5e73d8609b74e6a995ee1768d20d47bd4b089.tar.xz
Allow external font-path configuration from pdfium_test.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1268323004 .
Diffstat (limited to 'fpdfsdk/src/fpdf_sysfontinfo.cpp')
-rw-r--r--fpdfsdk/src/fpdf_sysfontinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/fpdf_sysfontinfo.cpp b/fpdfsdk/src/fpdf_sysfontinfo.cpp
index a0fdb5083d..804efe3020 100644
--- a/fpdfsdk/src/fpdf_sysfontinfo.cpp
+++ b/fpdfsdk/src/fpdf_sysfontinfo.cpp
@@ -168,7 +168,7 @@ static void DefaultDeleteFont(struct _FPDF_SYSFONTINFO* pThis, void* hFont) {
}
DLLEXPORT FPDF_SYSFONTINFO* STDCALL FPDF_GetDefaultSystemFontInfo() {
- IFX_SystemFontInfo* pFontInfo = IFX_SystemFontInfo::CreateDefault();
+ IFX_SystemFontInfo* pFontInfo = IFX_SystemFontInfo::CreateDefault(nullptr);
if (pFontInfo == NULL)
return NULL;