From 875e98c581952478f3a3ccef9b2f2e3ed06c5346 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Wed, 27 Sep 2017 10:53:11 -0400 Subject: Remove FX_STRSIZE and replace with size_t BUG=pdfium:828 Change-Id: I5c40237433ebabaeabdb43aec9cdf783e41dfe16 Reviewed-on: https://pdfium-review.googlesource.com/13230 Reviewed-by: dsinclair Commit-Queue: Ryan Harrison --- fxbarcode/datamatrix/BC_EncoderContext.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fxbarcode/datamatrix/BC_EncoderContext.h') diff --git a/fxbarcode/datamatrix/BC_EncoderContext.h b/fxbarcode/datamatrix/BC_EncoderContext.h index 3881319d61..c0ddb20b7b 100644 --- a/fxbarcode/datamatrix/BC_EncoderContext.h +++ b/fxbarcode/datamatrix/BC_EncoderContext.h @@ -25,26 +25,26 @@ class CBC_EncoderContext { wchar_t getCurrent(); void writeCodewords(const WideString& codewords); void writeCodeword(wchar_t codeword); - FX_STRSIZE getCodewordCount(); + size_t getCodewordCount(); void signalEncoderChange(int32_t encoding); void resetEncoderSignal(); bool hasMoreCharacters(); - FX_STRSIZE getRemainingCharacters(); + size_t getRemainingCharacters(); void updateSymbolInfo(int32_t& e); void updateSymbolInfo(int32_t len, int32_t& e); void resetSymbolInfo(); WideString m_msg; WideString m_codewords; - FX_STRSIZE m_pos; + size_t m_pos; int32_t m_newEncoding; UnownedPtr m_symbolInfo; private: - FX_STRSIZE getTotalMessageCharCount(); + size_t getTotalMessageCharCount(); bool m_allowRectangular; // Force square when false. - FX_STRSIZE m_skipAtEnd; + size_t m_skipAtEnd; }; #endif // FXBARCODE_DATAMATRIX_BC_ENCODERCONTEXT_H_ -- cgit v1.2.3