From aa8bf7e42b8c73a9bc07ed6781364ba05f5a9776 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 24 Dec 2015 19:13:32 -0800 Subject: Merge to XFA: Switch from nonstd::unique_ptr to std::unique_ptr. TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1547833002 . (cherry picked from commit d20dfba2ae10e8aeb328328f09da79ff904110a8) Review URL: https://codereview.chromium.org/1545183002 . --- core/include/fxcodec/fx_codec.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'core/include/fxcodec') diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h index da9cd9260b..b0c1d5710a 100644 --- a/core/include/fxcodec/fx_codec.h +++ b/core/include/fxcodec/fx_codec.h @@ -8,12 +8,13 @@ #define CORE_INCLUDE_FXCODEC_FX_CODEC_H_ #include +#include #include #include "core/include/fxcodec/fx_codec_def.h" #include "core/include/fxcrt/fx_basic.h" #include "core/include/fxcrt/fx_coordinates.h" // For FX_RECT. -#include "third_party/base/nonstd_unique_ptr.h" +#include "fx_codec_def.h" class CFX_DIBSource; class CJPX_Decoder; @@ -80,19 +81,19 @@ class CCodec_ModuleMgr { #endif // PDF_ENABLE_XFA protected: - nonstd::unique_ptr m_pBasicModule; - nonstd::unique_ptr m_pFaxModule; - nonstd::unique_ptr m_pJpegModule; - nonstd::unique_ptr m_pJpxModule; - nonstd::unique_ptr m_pJbig2Module; - nonstd::unique_ptr m_pIccModule; + std::unique_ptr m_pBasicModule; + std::unique_ptr m_pFaxModule; + std::unique_ptr m_pJpegModule; + std::unique_ptr m_pJpxModule; + std::unique_ptr m_pJbig2Module; + std::unique_ptr m_pIccModule; #ifdef PDF_ENABLE_XFA - nonstd::unique_ptr m_pPngModule; - nonstd::unique_ptr m_pGifModule; - nonstd::unique_ptr m_pBmpModule; - nonstd::unique_ptr m_pTiffModule; + std::unique_ptr m_pPngModule; + std::unique_ptr m_pGifModule; + std::unique_ptr m_pBmpModule; + std::unique_ptr m_pTiffModule; #endif // PDF_ENABLE_XFA - nonstd::unique_ptr m_pFlateModule; + std::unique_ptr m_pFlateModule; }; class ICodec_BasicModule { public: -- cgit v1.2.3