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

Side by Side Diff: core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp

Issue 1570973002: IWYU fix after commit c5a8933. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "core/src/fpdfapi/fpdf_edit/editint.h" 7 #include "core/src/fpdfapi/fpdf_edit/editint.h"
8 8
9 #include <vector>
10
9 #include "core/include/fxcrt/fx_ext.h" 11 #include "core/include/fxcrt/fx_ext.h"
10 #include "core/include/fpdfapi/fpdf_serial.h" 12 #include "core/include/fpdfapi/fpdf_serial.h"
11 #include "core/include/fpdfapi/fpdf_parser.h" 13 #include "core/include/fpdfapi/fpdf_parser.h"
12 14
13 #define PDF_OBJECTSTREAM_MAXLENGTH (256 * 1024) 15 #define PDF_OBJECTSTREAM_MAXLENGTH (256 * 1024)
14 #define PDF_XREFSTREAM_MAXSIZE 10000 16 #define PDF_XREFSTREAM_MAXSIZE 10000
15 17
16 namespace { 18 namespace {
17 19
18 int32_t PDF_CreatorAppendObject(const CPDF_Object* pObj, 20 int32_t PDF_CreatorAppendObject(const CPDF_Object* pObj,
(...skipping 2065 matching lines...) Expand 10 before | Expand all | Expand 10 after
2084 m_bNewCrypto = FALSE; 2086 m_bNewCrypto = FALSE;
2085 if (!m_bStandardSecurity) { 2087 if (!m_bStandardSecurity) {
2086 return; 2088 return;
2087 } 2089 }
2088 if (m_pEncryptDict) { 2090 if (m_pEncryptDict) {
2089 m_pEncryptDict->Release(); 2091 m_pEncryptDict->Release();
2090 m_pEncryptDict = NULL; 2092 m_pEncryptDict = NULL;
2091 } 2093 }
2092 m_bStandardSecurity = FALSE; 2094 m_bStandardSecurity = FALSE;
2093 } 2095 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698