summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_colorstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_colorstate.h')
-rw-r--r--core/fpdfapi/page/cpdf_colorstate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/page/cpdf_colorstate.h b/core/fpdfapi/page/cpdf_colorstate.h
index 36a2c2d260..9619051e2c 100644
--- a/core/fpdfapi/page/cpdf_colorstate.h
+++ b/core/fpdfapi/page/cpdf_colorstate.h
@@ -46,11 +46,11 @@ class CPDF_ColorState {
bool HasRef() const { return !!m_Ref; }
private:
- class ColorData {
+ class ColorData : public Retainable {
public:
ColorData();
ColorData(const ColorData& src);
- ~ColorData();
+ ~ColorData() override;
void SetDefault();