From 0b95042db2e6dab5876abd12ce485fff0a8e08fe Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 21 Sep 2017 15:49:49 -0400 Subject: 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 Commit-Queue: dsinclair --- fxbarcode/BC_Writer.cpp | 4 ++-- fxbarcode/BC_Writer.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'fxbarcode') 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 CBC_Writer::CreateDIBitmap(int32_t width, - int32_t height) { +RetainPtr CBC_Writer::CreateDIBitmap(int32_t width, + int32_t height) { auto pDIBitmap = pdfium::MakeRetain(); 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 CreateDIBitmap(int32_t width, int32_t height); + RetainPtr CreateDIBitmap(int32_t width, int32_t height); int32_t m_CharEncoding; int32_t m_ModuleHeight; int32_t m_ModuleWidth; -- cgit v1.2.3