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

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

Issue 1707923002: Expand all paths to be based off pdfium/ directory (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Sort headers Created 4 years, 10 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
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 "xml_int.h" 7 #include "core/src/fxcrt/xml_int.h"
8 8
9 #include "core/include/fxcrt/fx_ext.h" 9 #include "core/include/fxcrt/fx_ext.h"
10 #include "core/include/fxcrt/fx_xml.h" 10 #include "core/include/fxcrt/fx_xml.h"
11 11
12 CXML_Parser::~CXML_Parser() { 12 CXML_Parser::~CXML_Parser() {
13 if (m_bOwnedStream) { 13 if (m_bOwnedStream) {
14 m_pDataAcc->Release(); 14 m_pDataAcc->Release();
15 } 15 }
16 } 16 }
17 FX_BOOL CXML_Parser::Init(uint8_t* pBuffer, size_t size) { 17 FX_BOOL CXML_Parser::Init(uint8_t* pBuffer, size_t size) {
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 return (*m_pMap)[index]; 805 return (*m_pMap)[index];
806 } 806 }
807 void CXML_AttrMap::RemoveAll() { 807 void CXML_AttrMap::RemoveAll() {
808 if (!m_pMap) { 808 if (!m_pMap) {
809 return; 809 return;
810 } 810 }
811 m_pMap->RemoveAll(); 811 m_pMap->RemoveAll();
812 delete m_pMap; 812 delete m_pMap;
813 m_pMap = NULL; 813 m_pMap = NULL;
814 } 814 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698