summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_shadingobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_shadingobject.h')
-rw-r--r--core/fpdfapi/page/cpdf_shadingobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_shadingobject.h b/core/fpdfapi/page/cpdf_shadingobject.h
index 69b606749d..af88128443 100644
--- a/core/fpdfapi/page/cpdf_shadingobject.h
+++ b/core/fpdfapi/page/cpdf_shadingobject.h
@@ -33,7 +33,7 @@ class CPDF_ShadingObject : public CPDF_PageObject {
const CFX_Matrix& matrix() const { return m_Matrix; }
private:
- UnownedPtr<CPDF_ShadingPattern> m_pShading;
+ UnownedPtr<const CPDF_ShadingPattern> m_pShading;
CFX_Matrix m_Matrix;
};