diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-04 14:22:18 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-04 18:33:08 +0000 |
commit | 3878e1a206db89f8a9e38c72e7557fab04f96aa5 (patch) | |
tree | e104af570d82ccb8338d514f60f9da4a2828c96b /core/fpdfapi/render/cpdf_imagerenderer.cpp | |
parent | 643266cc8eb98ac680d838a2c5bc2dc8c25a9b08 (diff) | |
download | pdfium-3878e1a206db89f8a9e38c72e7557fab04f96aa5.tar.xz |
Make CPDF_TransferFunc members private
This CL moves the member variables of CPDF_TransferFunc to be private
from public and adds accessors as needed.
Change-Id: Ib5158721bbe833727b333da794d774f17e4fdea7
Reviewed-on: https://pdfium-review.googlesource.com/15451
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_imagerenderer.cpp')
-rw-r--r-- | core/fpdfapi/render/cpdf_imagerenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_imagerenderer.cpp b/core/fpdfapi/render/cpdf_imagerenderer.cpp index 2fa0beba47..f2ddced6b1 100644 --- a/core/fpdfapi/render/cpdf_imagerenderer.cpp +++ b/core/fpdfapi/render/cpdf_imagerenderer.cpp @@ -84,7 +84,7 @@ bool CPDF_ImageRenderer::StartRenderDIBSource() { if (!state.GetTransferFunc()) state.SetTransferFunc(m_pRenderStatus->GetTransferFunc(state.GetTR())); - if (state.GetTransferFunc() && !state.GetTransferFunc()->m_bIdentity) { + if (state.GetTransferFunc() && !state.GetTransferFunc()->GetIdentity()) { m_pDIBSource = m_Loader.m_pBitmap = state.GetTransferFunc()->TranslateImage(m_Loader.m_pBitmap); if (m_Loader.m_bCached && m_Loader.m_pMask) |