diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-09-27 10:53:11 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-27 16:11:38 +0000 |
commit | 875e98c581952478f3a3ccef9b2f2e3ed06c5346 (patch) | |
tree | 8e0d7e032056bf4c73d6da43c0f3ce4eadb74dfd /fxbarcode/datamatrix/BC_EncoderContext.h | |
parent | cc3a3ee3ebcc1baabdfa7ffca5876dbbfa3980c1 (diff) | |
download | pdfium-875e98c581952478f3a3ccef9b2f2e3ed06c5346.tar.xz |
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 <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fxbarcode/datamatrix/BC_EncoderContext.h')
-rw-r--r-- | fxbarcode/datamatrix/BC_EncoderContext.h | 10 |
1 files changed, 5 insertions, 5 deletions
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<CBC_SymbolInfo> 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_ |