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

Side by Side Diff: core/src/fxcodec/jbig2/JBig2_PatternDict.cpp

Issue 1800523005: Move core/src/ up to core/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 | « core/src/fxcodec/jbig2/JBig2_PatternDict.h ('k') | core/src/fxcodec/jbig2/JBig2_PddProc.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #include "core/src/fxcodec/jbig2/JBig2_PatternDict.h"
8
9 #include "core/include/fxcrt/fx_memory.h"
10
11 CJBig2_PatternDict::CJBig2_PatternDict() {
12 NUMPATS = 0;
13 HDPATS = NULL;
14 }
15
16 CJBig2_PatternDict::~CJBig2_PatternDict() {
17 if (HDPATS) {
18 for (FX_DWORD i = 0; i < NUMPATS; i++) {
19 delete HDPATS[i];
20 }
21 FX_Free(HDPATS);
22 }
23 }
OLDNEW
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_PatternDict.h ('k') | core/src/fxcodec/jbig2/JBig2_PddProc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698