diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-08-13 11:32:36 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-08-13 11:32:36 -0700 |
commit | 98367f3ef7dc76c856db1c8a3721bef5f9b7adfc (patch) | |
tree | b0f9533e42d1d2383bc3667db84095b53a971ac8 /core/src/fxge/apple | |
parent | d8b5e73d8609b74e6a995ee1768d20d47bd4b089 (diff) | |
download | pdfium-98367f3ef7dc76c856db1c8a3721bef5f9b7adfc.tar.xz |
Revert "Allow external font-path configuration from pdfium_test."
This reverts commit d8b5e73d8609b74e6a995ee1768d20d47bd4b089.
Broke corpus tests
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1292153002 .
Diffstat (limited to 'core/src/fxge/apple')
-rw-r--r-- | core/src/fxge/apple/fx_mac_imp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fxge/apple/fx_mac_imp.cpp b/core/src/fxge/apple/fx_mac_imp.cpp index 5a4e6603df..9918ba97e8 100644 --- a/core/src/fxge/apple/fx_mac_imp.cpp +++ b/core/src/fxge/apple/fx_mac_imp.cpp @@ -93,7 +93,7 @@ void* CFX_MacFontInfo::MapFont(int weight, } return NULL; } -IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault(const char** pUnused) { +IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault() { CFX_MacFontInfo* pInfo = new CFX_MacFontInfo; pInfo->AddPath("~/Library/Fonts"); pInfo->AddPath("/Library/Fonts"); @@ -102,7 +102,7 @@ IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault(const char** pUnused) { } void CFX_GEModule::InitPlatform() { m_pPlatformData = new CApplePlatform; - m_pFontMgr->SetSystemFontInfo(IFX_SystemFontInfo::CreateDefault(nullptr)); + m_pFontMgr->SetSystemFontInfo(IFX_SystemFontInfo::CreateDefault()); } void CFX_GEModule::DestroyPlatform() { delete (CApplePlatform*)m_pPlatformData; |