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

Side by Side Diff: core/include/fpdfapi/fpdf_page.h

Issue 1518593002: Get rid of most uses of CFX_PtrArray. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix botch. Created 5 years 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/include/fpdfapi/fpdf_objects.h ('k') | core/include/fpdfapi/fpdf_parser.h » ('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 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_
8 #define CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_
9 9
10 #include "core/include/fxge/fx_dib.h" 10 #include "core/include/fxge/fx_dib.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 void ProcessForm(CFX_ByteTextBuf& buf, 189 void ProcessForm(CFX_ByteTextBuf& buf,
190 const uint8_t* data, 190 const uint8_t* data,
191 FX_DWORD size, 191 FX_DWORD size,
192 CFX_Matrix& matrix); 192 CFX_Matrix& matrix);
193 CFX_ByteString RealizeResource(CPDF_Object* pResourceObj, 193 CFX_ByteString RealizeResource(CPDF_Object* pResourceObj,
194 const FX_CHAR* szType); 194 const FX_CHAR* szType);
195 195
196 private: 196 private:
197 CPDF_Page* m_pPage; 197 CPDF_Page* m_pPage;
198 CPDF_Document* m_pDocument; 198 CPDF_Document* m_pDocument;
199 CFX_PtrArray m_pageObjects; 199 CFX_ArrayTemplate<CPDF_PageObject*> m_pageObjects;
200 }; 200 };
201 201
202 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ 202 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_objects.h ('k') | core/include/fpdfapi/fpdf_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698