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

Unified Diff: core/fpdfapi/fpdf_edit/include/cpdf_creator.h

Issue 1902713003: Cleanups from prior CLs. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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_edit/include/cpdf_creator.h
diff --git a/core/fpdfapi/fpdf_edit/include/cpdf_creator.h b/core/fpdfapi/fpdf_edit/include/cpdf_creator.h
index e9490a3be745f8b96bbf12498ae9873d87014482..023ea4e0098ab18b4c5fce025249c9252aecda30 100644
--- a/core/fpdfapi/fpdf_edit/include/cpdf_creator.h
+++ b/core/fpdfapi/fpdf_edit/include/cpdf_creator.h
@@ -7,6 +7,8 @@
#ifndef CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_
#define CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_CREATOR_H_
+#include <memory>
+
#include "core/fxcrt/include/fx_basic.h"
class CPDF_Array;
@@ -78,9 +80,7 @@ class CPDF_Creator {
CPDF_Dictionary* m_pEncryptDict;
uint32_t m_dwEnryptObjNum;
FX_BOOL m_bEncryptCloned;
- FX_BOOL m_bStandardSecurity;
- CPDF_CryptoHandler* m_pCryptoHandler;
- FX_BOOL m_bNewCrypto;
+ std::unique_ptr<CPDF_CryptoHandler> m_pCryptoHandler;
FX_BOOL m_bEncryptMetadata;
CPDF_Object* m_pMetadata;
CPDF_XRefStream* m_pXRefStream;

Powered by Google App Engine
This is Rietveld 408576698