From aee0db0e6a12bdaacebeb8fb791f4e0d45e18a0d Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 21 Sep 2017 16:53:58 -0400 Subject: Move CFX_UnownedPtr to UnownedPtr This CL moves CFX_UnownedPtr to UnownedPtr and places in the fxcrt namespace. Bug: pdfium:898 Change-Id: I6d1fa463f365e5cb3aafa8c8a7a5f7eff62ed8e0 Reviewed-on: https://pdfium-review.googlesource.com/14620 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- fxbarcode/common/reedsolomon/BC_ReedSolomon.h | 4 ++-- fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h | 4 ++-- fxbarcode/datamatrix/BC_EncoderContext.h | 4 ++-- fxbarcode/oned/BC_OneDimWriter.h | 4 ++-- fxbarcode/qrcode/BC_QRCoder.h | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'fxbarcode') diff --git a/fxbarcode/common/reedsolomon/BC_ReedSolomon.h b/fxbarcode/common/reedsolomon/BC_ReedSolomon.h index d4e3ee8881..e45c8a4976 100644 --- a/fxbarcode/common/reedsolomon/BC_ReedSolomon.h +++ b/fxbarcode/common/reedsolomon/BC_ReedSolomon.h @@ -10,7 +10,7 @@ #include #include -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" class CBC_ReedSolomonGF256; class CBC_ReedSolomonGF256Poly; @@ -26,7 +26,7 @@ class CBC_ReedSolomonEncoder { private: CBC_ReedSolomonGF256Poly* BuildGenerator(size_t degree); - CFX_UnownedPtr const m_field; + UnownedPtr const m_field; std::vector> m_cachedGenerators; }; diff --git a/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h b/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h index 4730625bf8..810b4782bb 100644 --- a/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h +++ b/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h @@ -10,7 +10,7 @@ #include #include -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" class CBC_ReedSolomonGF256; @@ -40,7 +40,7 @@ class CBC_ReedSolomonGF256Poly final { std::unique_ptr Clone() const; private: - CFX_UnownedPtr m_field; + UnownedPtr m_field; std::vector m_coefficients; }; diff --git a/fxbarcode/datamatrix/BC_EncoderContext.h b/fxbarcode/datamatrix/BC_EncoderContext.h index 1289a45e68..3881319d61 100644 --- a/fxbarcode/datamatrix/BC_EncoderContext.h +++ b/fxbarcode/datamatrix/BC_EncoderContext.h @@ -7,7 +7,7 @@ #ifndef FXBARCODE_DATAMATRIX_BC_ENCODERCONTEXT_H_ #define FXBARCODE_DATAMATRIX_BC_ENCODERCONTEXT_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "core/fxcrt/widestring.h" class CBC_SymbolInfo; @@ -38,7 +38,7 @@ class CBC_EncoderContext { WideString m_codewords; FX_STRSIZE m_pos; int32_t m_newEncoding; - CFX_UnownedPtr m_symbolInfo; + UnownedPtr m_symbolInfo; private: FX_STRSIZE getTotalMessageCharCount(); diff --git a/fxbarcode/oned/BC_OneDimWriter.h b/fxbarcode/oned/BC_OneDimWriter.h index 880f60f0b8..5c9ef09e4d 100644 --- a/fxbarcode/oned/BC_OneDimWriter.h +++ b/fxbarcode/oned/BC_OneDimWriter.h @@ -10,7 +10,7 @@ #include #include -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "core/fxge/cfx_renderdevice.h" #include "fxbarcode/BC_Library.h" #include "fxbarcode/BC_Writer.h" @@ -86,7 +86,7 @@ class CBC_OneDimWriter : public CBC_Writer { bool m_bPrintChecksum; int32_t m_iDataLenth; bool m_bCalcChecksum; - CFX_UnownedPtr m_pFont; + UnownedPtr m_pFont; float m_fFontSize; int32_t m_iFontStyle; uint32_t m_fontColor; diff --git a/fxbarcode/qrcode/BC_QRCoder.h b/fxbarcode/qrcode/BC_QRCoder.h index fe34b5250b..af53ded49d 100644 --- a/fxbarcode/qrcode/BC_QRCoder.h +++ b/fxbarcode/qrcode/BC_QRCoder.h @@ -9,7 +9,7 @@ #include -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" class CBC_QRCoderErrorCorrectionLevel; class CBC_QRCoderMode; @@ -50,8 +50,8 @@ class CBC_QRCoder { void SetMatrix(std::unique_ptr pMatrix); private: - CFX_UnownedPtr m_mode; - CFX_UnownedPtr m_ecLevel; + UnownedPtr m_mode; + UnownedPtr m_ecLevel; int32_t m_version; int32_t m_matrixWidth; int32_t m_maskPattern; -- cgit v1.2.3