summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-06-29 20:38:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-29 20:38:59 +0000
commit1839a4bc01a6c6fe6a22474d2c6d4f09a9772371 (patch)
tree7e42e737ea68a70ce999eb59253ffc8281060f45 /core/fpdfapi/page
parentf7155bf3c8fa8cf4593f2517ef3f005e3190609f (diff)
downloadpdfium-1839a4bc01a6c6fe6a22474d2c6d4f09a9772371.tar.xz
Clean up CLcmsCmm.
Make members const and private. Fix nits. Change-Id: I945bc26438f8fbd6904dc1b15513ab9e51170dc7 Reviewed-on: https://pdfium-review.googlesource.com/36631 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fpdfapi/page')
-rw-r--r--core/fpdfapi/page/cpdf_colorspace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_colorspace.cpp b/core/fpdfapi/page/cpdf_colorspace.cpp
index b78fe9acfc..0138b81ca1 100644
--- a/core/fpdfapi/page/cpdf_colorspace.cpp
+++ b/core/fpdfapi/page/cpdf_colorspace.cpp
@@ -1019,7 +1019,7 @@ bool CPDF_ICCBasedCS::IsNormal() const {
if (m_pProfile->IsSRGB())
return true;
if (m_pProfile->transform())
- return m_pProfile->transform()->m_bNormal;
+ return m_pProfile->transform()->IsNormal();
if (m_pAlterCS)
return m_pAlterCS->IsNormal();
return false;