From f8af565a78ee1910b8c98a5bdfb9ab6b88442317 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 6 Mar 2018 18:56:33 +0000 Subject: Rename IFX classes in core/fxge to Iface This CL renames IFX classes in core/fxge to Iface. Change-Id: I137167ddd4ff1563d8002d9501222c27183408cc Reviewed-on: https://pdfium-review.googlesource.com/27990 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- fpdfsdk/fpdf_sysfontinfo.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fpdfsdk/fpdf_sysfontinfo.cpp') diff --git a/fpdfsdk/fpdf_sysfontinfo.cpp b/fpdfsdk/fpdf_sysfontinfo.cpp index 97d02e85f5..81a749aefb 100644 --- a/fpdfsdk/fpdf_sysfontinfo.cpp +++ b/fpdfsdk/fpdf_sysfontinfo.cpp @@ -13,7 +13,7 @@ #include "core/fxge/cfx_fontmgr.h" #include "core/fxge/cfx_gemodule.h" #include "core/fxge/fx_font.h" -#include "core/fxge/ifx_systemfontinfo.h" +#include "core/fxge/systemfontinfo_iface.h" #include "fpdfsdk/fsdk_define.h" #include "fpdfsdk/pwl/cpwl_font_map.h" #include "third_party/base/ptr_util.h" @@ -31,7 +31,7 @@ static_assert(FXFONT_GB2312_CHARSET == FX_CHARSET_ChineseSimplified, static_assert(FXFONT_CHINESEBIG5_CHARSET == FX_CHARSET_ChineseTraditional, "Charset must match"); -class CFX_ExternalFontInfo final : public IFX_SystemFontInfo { +class CFX_ExternalFontInfo final : public SystemFontInfoIface { public: explicit CFX_ExternalFontInfo(FPDF_SYSFONTINFO* pInfo) : m_pInfo(pInfo) {} ~CFX_ExternalFontInfo() override { @@ -126,7 +126,7 @@ FPDF_EXPORT const FPDF_CharsetFontMap* FPDF_CALLCONV FPDF_GetDefaultTTFMap() { } struct FPDF_SYSFONTINFO_DEFAULT : public FPDF_SYSFONTINFO { - UnownedPtr m_pFontInfo; + UnownedPtr m_pFontInfo; }; static void DefaultRelease(struct _FPDF_SYSFONTINFO* pThis) { @@ -195,8 +195,8 @@ static void DefaultDeleteFont(struct _FPDF_SYSFONTINFO* pThis, void* hFont) { } FPDF_EXPORT FPDF_SYSFONTINFO* FPDF_CALLCONV FPDF_GetDefaultSystemFontInfo() { - std::unique_ptr pFontInfo = - IFX_SystemFontInfo::CreateDefault(nullptr); + std::unique_ptr pFontInfo = + SystemFontInfoIface::CreateDefault(nullptr); if (!pFontInfo) return nullptr; -- cgit v1.2.3