Index: core/fpdfapi/fpdf_page/cpdf_shadingpattern.h |
diff --git a/core/fpdfapi/fpdf_page/cpdf_shadingpattern.h b/core/fpdfapi/fpdf_page/cpdf_shadingpattern.h |
index 0ff258b308bbae06b9288d587d9e9ae048d5a3b5..f5cef17fb1d69c88a05e3e3dce46a704184b6dbf 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_shadingpattern.h |
+++ b/core/fpdfapi/fpdf_page/cpdf_shadingpattern.h |
@@ -55,7 +55,7 @@ class CPDF_ShadingPattern : public CPDF_Pattern { |
FX_BOOL IsShadingObject() const { return m_bShadingObj; } |
CPDF_Object* GetShadingObject() const { return m_pShadingObj; } |
CPDF_ColorSpace* GetCS() const { return m_pCS; } |
- const std::vector<std::unique_ptr<CPDF_Function>>& GetFuncs() { |
+ const std::vector<std::unique_ptr<CPDF_Function>>& GetFuncs() const { |
return m_pFunctions; |
} |