summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_iccprofile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_iccprofile.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_iccprofile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_iccprofile.cpp b/core/fpdfapi/page/cpdf_iccprofile.cpp
index 144f530a2c..c0bf7cd2a2 100644
--- a/core/fpdfapi/page/cpdf_iccprofile.cpp
+++ b/core/fpdfapi/page/cpdf_iccprofile.cpp
@@ -18,7 +18,7 @@ bool DetectSRGB(const uint8_t* pData, uint32_t dwSize) {
} // namespace
-CPDF_IccProfile::CPDF_IccProfile(CPDF_Stream* pStream,
+CPDF_IccProfile::CPDF_IccProfile(const CPDF_Stream* pStream,
const uint8_t* pData,
uint32_t dwSize)
: m_bsRGB(DetectSRGB(pData, dwSize)), m_pStream(pStream) {