summaryrefslogtreecommitdiff
path: root/core/fxge/fx_font.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-09-21 15:49:49 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-21 20:17:31 +0000
commit0b95042db2e6dab5876abd12ce485fff0a8e08fe (patch)
tree02132ed53945fde30bfbf230ff4e9b5308dd7732 /core/fxge/fx_font.h
parenta5eb9f05b7c3f82630784e043ccf75c4e019b18f (diff)
downloadpdfium-0b95042db2e6dab5876abd12ce485fff0a8e08fe.tar.xz
Rename CFX_RetainPtr to RetainPtr
This CL renames CFX_RetainPtr to RetainPtr and places in the fxcrt namespace. Bug: pdfium:898 Change-Id: I8798a9f79cb0840d3f037e8d04937cedd742914e Reviewed-on: https://pdfium-review.googlesource.com/14616 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/fx_font.h')
-rw-r--r--core/fxge/fx_font.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fxge/fx_font.h b/core/fxge/fx_font.h
index 021efee7d9..89cda1ee5d 100644
--- a/core/fxge/fx_font.h
+++ b/core/fxge/fx_font.h
@@ -100,8 +100,7 @@ class CFX_Font {
CFX_SubstFont* GetSubstFont() const { return m_pSubstFont.get(); }
#ifdef PDF_ENABLE_XFA
- bool LoadFile(const CFX_RetainPtr<IFX_SeekableReadStream>& pFile,
- int nFaceIndex);
+ bool LoadFile(const RetainPtr<IFX_SeekableReadStream>& pFile, int nFaceIndex);
bool LoadClone(const CFX_Font* pFont);
void SetFace(FXFT_Face face);
@@ -205,7 +204,7 @@ class CFX_GlyphBitmap {
int m_Top;
int m_Left;
- CFX_RetainPtr<CFX_DIBitmap> m_pBitmap;
+ RetainPtr<CFX_DIBitmap> m_pBitmap;
};
inline CFX_GlyphBitmap::CFX_GlyphBitmap()