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

Side by Side Diff: core/src/fxcrt/fx_xml_parser.cpp

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase 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
« no previous file with comments | « core/src/fxcrt/fx_xml_composer.cpp ('k') | core/src/fxcrt/fxcrt_platforms.cpp » ('j') | 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 "../../include/fxcrt/fx_xml.h"
8 #include "xml_int.h" 7 #include "xml_int.h"
8
9 #include "core/include/fxcrt/fx_xml.h"
10
9 CXML_Parser::~CXML_Parser() { 11 CXML_Parser::~CXML_Parser() {
10 if (m_bOwnedStream) { 12 if (m_bOwnedStream) {
11 m_pDataAcc->Release(); 13 m_pDataAcc->Release();
12 } 14 }
13 } 15 }
14 FX_BOOL CXML_Parser::Init(uint8_t* pBuffer, size_t size) { 16 FX_BOOL CXML_Parser::Init(uint8_t* pBuffer, size_t size) {
15 m_pDataAcc = new CXML_DataBufAcc(pBuffer, size); 17 m_pDataAcc = new CXML_DataBufAcc(pBuffer, size);
16 return Init(TRUE); 18 return Init(TRUE);
17 } 19 }
18 FX_BOOL CXML_Parser::Init(IFX_FileRead* pFileRead) { 20 FX_BOOL CXML_Parser::Init(IFX_FileRead* pFileRead) {
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 return (*m_pMap)[index]; 823 return (*m_pMap)[index];
822 } 824 }
823 void CXML_AttrMap::RemoveAll() { 825 void CXML_AttrMap::RemoveAll() {
824 if (!m_pMap) { 826 if (!m_pMap) {
825 return; 827 return;
826 } 828 }
827 m_pMap->RemoveAll(); 829 m_pMap->RemoveAll();
828 delete m_pMap; 830 delete m_pMap;
829 m_pMap = NULL; 831 m_pMap = NULL;
830 } 832 }
OLDNEW
« no previous file with comments | « core/src/fxcrt/fx_xml_composer.cpp ('k') | core/src/fxcrt/fxcrt_platforms.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698