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

Side by Side Diff: core/fxcodec/jbig2/JBig2_Segment.cpp

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/fxcodec/jbig2/JBig2_SddProc.cpp ('k') | core/fxcodec/jbig2/JBig2_SymbolDict.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 #include "core/fxcodec/jbig2/JBig2_Segment.h" 7 #include "core/fxcodec/jbig2/JBig2_Segment.h"
8 8
9 #include "core/fxcrt/include/fx_memory.h" 9 #include "core/fxcrt/fx_memory.h"
10 10
11 CJBig2_Segment::CJBig2_Segment() { 11 CJBig2_Segment::CJBig2_Segment() {
12 m_dwNumber = 0; 12 m_dwNumber = 0;
13 m_cFlags.c = 0; 13 m_cFlags.c = 0;
14 m_nReferred_to_segment_count = 0; 14 m_nReferred_to_segment_count = 0;
15 m_pReferred_to_segment_numbers = nullptr; 15 m_pReferred_to_segment_numbers = nullptr;
16 m_dwPage_association = 0; 16 m_dwPage_association = 0;
17 m_dwData_length = 0; 17 m_dwData_length = 0;
18 m_dwHeader_Length = 0; 18 m_dwHeader_Length = 0;
19 m_dwObjNum = 0; 19 m_dwObjNum = 0;
(...skipping 15 matching lines...) Expand all
35 case JBIG2_PATTERN_DICT_POINTER: 35 case JBIG2_PATTERN_DICT_POINTER:
36 delete m_Result.pd; 36 delete m_Result.pd;
37 break; 37 break;
38 case JBIG2_HUFFMAN_TABLE_POINTER: 38 case JBIG2_HUFFMAN_TABLE_POINTER:
39 delete m_Result.ht; 39 delete m_Result.ht;
40 break; 40 break;
41 default: 41 default:
42 FX_Free(m_Result.vd); 42 FX_Free(m_Result.vd);
43 } 43 }
44 } 44 }
OLDNEW
« no previous file with comments | « core/fxcodec/jbig2/JBig2_SddProc.cpp ('k') | core/fxcodec/jbig2/JBig2_SymbolDict.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698