summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_dibtransferfunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/render/cpdf_dibtransferfunc.h')
-rw-r--r--core/fpdfapi/render/cpdf_dibtransferfunc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/fpdfapi/render/cpdf_dibtransferfunc.h b/core/fpdfapi/render/cpdf_dibtransferfunc.h
index d57ec0ff89..d290c00d8a 100644
--- a/core/fpdfapi/render/cpdf_dibtransferfunc.h
+++ b/core/fpdfapi/render/cpdf_dibtransferfunc.h
@@ -15,9 +15,7 @@ class CPDF_TransferFunc;
class CPDF_DIBTransferFunc : public CFX_FilteredDIB {
public:
- template <typename T, typename... Args>
- friend CFX_RetainPtr<T> pdfium::MakeRetain(Args&&... args);
-
+ explicit CPDF_DIBTransferFunc(const CPDF_TransferFunc* pTransferFunc);
~CPDF_DIBTransferFunc() override;
// CFX_FilteredDIB
@@ -31,8 +29,6 @@ class CPDF_DIBTransferFunc : public CFX_FilteredDIB {
int Bpp) const override;
private:
- explicit CPDF_DIBTransferFunc(const CPDF_TransferFunc* pTransferFunc);
-
const uint8_t* m_RampR;
const uint8_t* m_RampG;
const uint8_t* m_RampB;