From de44d154f6c61af75f149e965a7f483f0b30dd98 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 21 Sep 2017 14:52:41 -0400 Subject: Move CFX_MaybeOwned to fxcrt::MaybeOwned This CL moves CFX_MaybeOwned into the fxcrt namespace and removes the CFX_ prefix. The test names for maybe owned were updated to be in the MaybeOned test suite instead of the fxcrt suite. Bug: pdfium:898 Change-Id: I0c07057d66c8610e7b19133094b4507fff725e76 Reviewed-on: https://pdfium-review.googlesource.com/14470 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- core/fxcodec/jbig2/JBig2_TrdProc.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'core/fxcodec') diff --git a/core/fxcodec/jbig2/JBig2_TrdProc.cpp b/core/fxcodec/jbig2/JBig2_TrdProc.cpp index 3fc43c067e..d513637a9d 100644 --- a/core/fxcodec/jbig2/JBig2_TrdProc.cpp +++ b/core/fxcodec/jbig2/JBig2_TrdProc.cpp @@ -12,7 +12,7 @@ #include "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h" #include "core/fxcodec/jbig2/JBig2_GrrdProc.h" #include "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h" -#include "core/fxcrt/cfx_maybe_owned.h" +#include "core/fxcrt/maybe_owned.h" #include "third_party/base/ptr_util.h" CJBig2_TRDProc::CJBig2_TRDProc() {} @@ -101,7 +101,7 @@ std::unique_ptr CJBig2_TRDProc::decode_Huffman( if (SBREFINE != 0 && pStream->read1Bit(&RI) != 0) return nullptr; - CFX_MaybeOwned IBI; + MaybeOwned IBI; if (RI == 0) { IBI = SBSYMS[IDI]; } else { @@ -214,16 +214,16 @@ std::unique_ptr CJBig2_TRDProc::decode_Arith( CJBig2_ArithDecoder* pArithDecoder, JBig2ArithCtx* grContext, JBig2IntDecoderState* pIDS) { - CFX_MaybeOwned pIADT; - CFX_MaybeOwned pIAFS; - CFX_MaybeOwned pIADS; - CFX_MaybeOwned pIAIT; - CFX_MaybeOwned pIARI; - CFX_MaybeOwned pIARDW; - CFX_MaybeOwned pIARDH; - CFX_MaybeOwned pIARDX; - CFX_MaybeOwned pIARDY; - CFX_MaybeOwned pIAID; + MaybeOwned pIADT; + MaybeOwned pIAFS; + MaybeOwned pIADS; + MaybeOwned pIAIT; + MaybeOwned pIARI; + MaybeOwned pIARDW; + MaybeOwned pIARDH; + MaybeOwned pIARDX; + MaybeOwned pIARDY; + MaybeOwned pIAID; if (pIDS) { pIADT = pIDS->IADT; pIAFS = pIDS->IAFS; @@ -299,7 +299,7 @@ std::unique_ptr CJBig2_TRDProc::decode_Arith( else pIARI->decode(pArithDecoder, &RI); - CFX_MaybeOwned pIBI; + MaybeOwned pIBI; if (RI == 0) { pIBI = SBSYMS[IDI]; } else { -- cgit v1.2.3