Index: core/fpdfapi/page/cpdf_contentmarkitem.h |
diff --git a/core/fpdfapi/page/cpdf_contentmarkitem.h b/core/fpdfapi/page/cpdf_contentmarkitem.h |
index ed2737111be7ce595c1347aa3fd16685b2ab74a9..f1f06c3a381cd258c5bea3e1860d6f38ab39b2b3 100644 |
--- a/core/fpdfapi/page/cpdf_contentmarkitem.h |
+++ b/core/fpdfapi/page/cpdf_contentmarkitem.h |
@@ -31,14 +31,16 @@ |
bool HasMCID() const; |
void SetName(const CFX_ByteString& name) { m_MarkName = name; } |
- void SetDirectDict(std::unique_ptr<CPDF_Dictionary> pDict); |
+ void SetDirectDict( |
+ std::unique_ptr<CPDF_Dictionary, ReleaseDeleter<CPDF_Dictionary>> pDict); |
void SetPropertiesDict(CPDF_Dictionary* pDict); |
private: |
CFX_ByteString m_MarkName; |
ParamType m_ParamType; |
CPDF_Dictionary* m_pPropertiesDict; // not owned. |
- std::unique_ptr<CPDF_Dictionary> m_pDirectDict; |
+ std::unique_ptr<CPDF_Dictionary, ReleaseDeleter<CPDF_Dictionary>> |
+ m_pDirectDict; |
}; |
#endif // CORE_FPDFAPI_PAGE_CPDF_CONTENTMARKITEM_H_ |