diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-09-21 15:49:49 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-21 20:17:31 +0000 |
commit | 0b95042db2e6dab5876abd12ce485fff0a8e08fe (patch) | |
tree | 02132ed53945fde30bfbf230ff4e9b5308dd7732 /fxbarcode | |
parent | a5eb9f05b7c3f82630784e043ccf75c4e019b18f (diff) | |
download | pdfium-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 'fxbarcode')
-rw-r--r-- | fxbarcode/BC_Writer.cpp | 4 | ||||
-rw-r--r-- | fxbarcode/BC_Writer.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fxbarcode/BC_Writer.cpp b/fxbarcode/BC_Writer.cpp index 9a109bfbdd..5c8e0cf3b7 100644 --- a/fxbarcode/BC_Writer.cpp +++ b/fxbarcode/BC_Writer.cpp @@ -50,8 +50,8 @@ void CBC_Writer::SetBarcodeColor(FX_ARGB foregroundColor) { m_barColor = foregroundColor; } -CFX_RetainPtr<CFX_DIBitmap> CBC_Writer::CreateDIBitmap(int32_t width, - int32_t height) { +RetainPtr<CFX_DIBitmap> CBC_Writer::CreateDIBitmap(int32_t width, + int32_t height) { auto pDIBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); pDIBitmap->Create(width, height, m_colorSpace); return pDIBitmap; diff --git a/fxbarcode/BC_Writer.h b/fxbarcode/BC_Writer.h index fc98a4cfd4..565c03f1a5 100644 --- a/fxbarcode/BC_Writer.h +++ b/fxbarcode/BC_Writer.h @@ -25,7 +25,7 @@ class CBC_Writer { virtual void SetBarcodeColor(FX_ARGB foregroundColor); protected: - CFX_RetainPtr<CFX_DIBitmap> CreateDIBitmap(int32_t width, int32_t height); + RetainPtr<CFX_DIBitmap> CreateDIBitmap(int32_t width, int32_t height); int32_t m_CharEncoding; int32_t m_ModuleHeight; int32_t m_ModuleWidth; |