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

Side by Side Diff: core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp

Issue 1438573002: Merge to XFA: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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
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 "../../../include/fpdfapi/fpdf_parser.h" 7 #include "core/include/fpdfapi/fpdf_parser.h"
8 #include "../../../include/fxcrt/fx_string.h" 8
9 #include "core/include/fxcrt/fx_string.h"
9 10
10 // static 11 // static
11 int CPDF_Object::s_nCurRefDepth = 0; 12 int CPDF_Object::s_nCurRefDepth = 0;
12 13
13 void CPDF_Object::Release() { 14 void CPDF_Object::Release() {
14 if (m_ObjNum) { 15 if (m_ObjNum) {
15 return; 16 return;
16 } 17 }
17 Destroy(); 18 Destroy();
18 } 19 }
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 } 1187 }
1187 pObj->m_ObjNum = objnum; 1188 pObj->m_ObjNum = objnum;
1188 m_IndirectObjs.SetAt((void*)(uintptr_t)objnum, pObj); 1189 m_IndirectObjs.SetAt((void*)(uintptr_t)objnum, pObj);
1189 if (m_LastObjNum < objnum) { 1190 if (m_LastObjNum < objnum) {
1190 m_LastObjNum = objnum; 1191 m_LastObjNum = objnum;
1191 } 1192 }
1192 } 1193 }
1193 FX_DWORD CPDF_IndirectObjects::GetLastObjNum() const { 1194 FX_DWORD CPDF_IndirectObjects::GetLastObjNum() const {
1194 return m_LastObjNum; 1195 return m_LastObjNum;
1195 } 1196 }
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698