summaryrefslogtreecommitdiff
path: root/core/fxge/android/cfpf_skiapathfont.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-13 16:43:37 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-14 14:14:51 +0000
commit812e96c2b4c5908a1979da5e27cdcecda0d1dfc9 (patch)
treef0b0607f6b757eb22237527215094bd87b5d03ba /core/fxge/android/cfpf_skiapathfont.h
parent893822aa5b6254591f8e80fbffcbb4fa6ad849aa (diff)
downloadpdfium-812e96c2b4c5908a1979da5e27cdcecda0d1dfc9.tar.xz
Replace FX_CHAR and FX_WCHAR with underlying types.
Change-Id: I96e0a20d66b9184d22f64d8e4ce0dadd5a78c1e8 Reviewed-on: https://pdfium-review.googlesource.com/2967 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxge/android/cfpf_skiapathfont.h')
-rw-r--r--core/fxge/android/cfpf_skiapathfont.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fxge/android/cfpf_skiapathfont.h b/core/fxge/android/cfpf_skiapathfont.h
index f1cff2574b..f8ddc6c83a 100644
--- a/core/fxge/android/cfpf_skiapathfont.h
+++ b/core/fxge/android/cfpf_skiapathfont.h
@@ -20,14 +20,14 @@ class CFPF_SkiaPathFont : public CFPF_SkiaFontDescriptor {
// CFPF_SkiaFontDescriptor
int32_t GetType() const override { return FPF_SKIAFONTTYPE_Path; }
- void SetPath(const FX_CHAR* pPath) {
+ void SetPath(const char* pPath) {
FX_Free(m_pPath);
int32_t iSize = FXSYS_strlen(pPath);
- m_pPath = FX_Alloc(FX_CHAR, iSize + 1);
- FXSYS_memcpy(m_pPath, pPath, iSize * sizeof(FX_CHAR));
+ m_pPath = FX_Alloc(char, iSize + 1);
+ FXSYS_memcpy(m_pPath, pPath, iSize * sizeof(char));
m_pPath[iSize] = 0;
}
- FX_CHAR* m_pPath;
+ char* m_pPath;
};
#endif // CORE_FXGE_ANDROID_CFPF_SKIAPATHFONT_H_