summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_dibtransferfunc.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-04 14:22:18 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-04 18:33:08 +0000
commit3878e1a206db89f8a9e38c72e7557fab04f96aa5 (patch)
treee104af570d82ccb8338d514f60f9da4a2828c96b /core/fpdfapi/render/cpdf_dibtransferfunc.h
parent643266cc8eb98ac680d838a2c5bc2dc8c25a9b08 (diff)
downloadpdfium-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_dibtransferfunc.h')
-rw-r--r--core/fpdfapi/render/cpdf_dibtransferfunc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_dibtransferfunc.h b/core/fpdfapi/render/cpdf_dibtransferfunc.h
index 442811b97e..34f5bb1abe 100644
--- a/core/fpdfapi/render/cpdf_dibtransferfunc.h
+++ b/core/fpdfapi/render/cpdf_dibtransferfunc.h
@@ -9,6 +9,7 @@
#include <vector>
+#include "core/fxcrt/unowned_ptr.h"
#include "core/fxge/dib/cfx_filtereddib.h"
#include "core/fxge/fx_dib.h"
@@ -35,10 +36,10 @@ class CPDF_DIBTransferFunc : public CFX_FilteredDIB {
explicit CPDF_DIBTransferFunc(
const RetainPtr<CPDF_TransferFunc>& pTransferFunc);
+ RetainPtr<CPDF_TransferFunc> m_pTransferFunc;
const uint8_t* m_RampR;
const uint8_t* m_RampG;
const uint8_t* m_RampB;
- RetainPtr<CPDF_TransferFunc> m_pTransferFunc;
};
#endif // CORE_FPDFAPI_RENDER_CPDF_DIBTRANSFERFUNC_H_