diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-09-17 18:25:32 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-17 18:25:32 +0000 |
commit | cb798258c433bec7087948fcbfff14d1e7683006 (patch) | |
tree | bc873a405dbfe7c957d75a1748acce11c7f473e7 /core/fxcodec | |
parent | c5709dd345c748016a637b2104544895223f8fc7 (diff) | |
download | pdfium-cb798258c433bec7087948fcbfff14d1e7683006.tar.xz |
Fix final/protected conflicts.
Classes marked |final| should not have |protected| members. In turn,
"private field m_dwEncryptObjNum is not used" warning is produced.
Change-Id: I51a96aca5a5f499381a6764d892962f7f2dc0327
Reviewed-on: https://pdfium-review.googlesource.com/42611
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcodec')
-rw-r--r-- | core/fxcodec/codec/ccodec_flatemodule.cpp | 2 | ||||
-rw-r--r-- | core/fxcodec/codec/fx_codec.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcodec/codec/ccodec_flatemodule.cpp b/core/fxcodec/codec/ccodec_flatemodule.cpp index c603ce192b..0dc1822300 100644 --- a/core/fxcodec/codec/ccodec_flatemodule.cpp +++ b/core/fxcodec/codec/ccodec_flatemodule.cpp @@ -642,7 +642,7 @@ class CCodec_FlatePredictorScanlineDecoder final bool v_Rewind() override; uint8_t* v_GetNextLine() override; - protected: + private: void GetNextLineWithPredictedPitch(); void GetNextLineWithoutPredictedPitch(); diff --git a/core/fxcodec/codec/fx_codec.cpp b/core/fxcodec/codec/fx_codec.cpp index b93f5418f3..d38f10aadd 100644 --- a/core/fxcodec/codec/fx_codec.cpp +++ b/core/fxcodec/codec/fx_codec.cpp @@ -1540,7 +1540,7 @@ class CCodec_RLScanlineDecoder final : public CCodec_ScanlineDecoder { uint8_t* v_GetNextLine() override; uint32_t GetSrcOffset() override { return m_SrcOffset; } - protected: + private: bool CheckDestSize(); void GetNextOperator(); void UpdateOperator(uint8_t used_bytes); |