Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1761)

Unified Diff: core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp

Issue 2384883003: Remove CPDF_Object::Release() in favor of direct delete (Closed)
Patch Set: Remove ScopedDict typedefs Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp
diff --git a/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp b/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp
index 88c5008e0ba1b13792d26c4c2df6330d8d71fa67..d1767305579eef94a0329e65909416d78f1ae0a8 100644
--- a/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp
+++ b/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp
@@ -39,7 +39,7 @@ FX_BOOL CPDF_ContentMarkItem::HasMCID() const {
}
void CPDF_ContentMarkItem::SetDirectDict(
- std::unique_ptr<CPDF_Dictionary, ReleaseDeleter<CPDF_Dictionary>> pDict) {
+ std::unique_ptr<CPDF_Dictionary> pDict) {
m_ParamType = DirectDict;
m_pDirectDict = std::move(pDict);
}

Powered by Google App Engine
This is Rietveld 408576698