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

Side by Side Diff: core/src/fxcodec/jbig2/JBig2_SddProc.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/fxcodec/jbig2/JBig2_SddProc.h ('k') | core/src/fxcodec/jbig2/JBig2_Segment.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 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 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 "JBig2_SddProc.h" 7 #include "JBig2_SddProc.h"
8 8
9 #include "../../../include/fxcrt/fx_basic.h"
10 #include "JBig2_ArithIntDecoder.h" 9 #include "JBig2_ArithIntDecoder.h"
11 #include "JBig2_GrdProc.h" 10 #include "JBig2_GrdProc.h"
12 #include "JBig2_GrrdProc.h" 11 #include "JBig2_GrrdProc.h"
13 #include "JBig2_HuffmanDecoder.h" 12 #include "JBig2_HuffmanDecoder.h"
14 #include "JBig2_HuffmanTable.h" 13 #include "JBig2_HuffmanTable.h"
15 #include "JBig2_SymbolDict.h" 14 #include "JBig2_SymbolDict.h"
16 #include "JBig2_TrdProc.h" 15 #include "JBig2_TrdProc.h"
16 #include "core/include/fxcrt/fx_basic.h"
17 #include "third_party/base/nonstd_unique_ptr.h" 17 #include "third_party/base/nonstd_unique_ptr.h"
18 #include "third_party/base/stl_util.h" 18 #include "third_party/base/stl_util.h"
19 19
20 using pdfium::vector_as_array; 20 using pdfium::vector_as_array;
21 21
22 CJBig2_SymbolDict* CJBig2_SDDProc::decode_Arith( 22 CJBig2_SymbolDict* CJBig2_SDDProc::decode_Arith(
23 CJBig2_ArithDecoder* pArithDecoder, 23 CJBig2_ArithDecoder* pArithDecoder,
24 std::vector<JBig2ArithCtx>* gbContext, 24 std::vector<JBig2ArithCtx>* gbContext,
25 std::vector<JBig2ArithCtx>* grContext) { 25 std::vector<JBig2ArithCtx>* grContext) {
26 CJBig2_Image** SDNEWSYMS; 26 CJBig2_Image** SDNEWSYMS;
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 failed: 622 failed:
623 for (I = 0; I < NSYMSDECODED; I++) { 623 for (I = 0; I < NSYMSDECODED; I++) {
624 delete SDNEWSYMS[I]; 624 delete SDNEWSYMS[I];
625 } 625 }
626 FX_Free(SDNEWSYMS); 626 FX_Free(SDNEWSYMS);
627 if (SDREFAGG == 0) { 627 if (SDREFAGG == 0) {
628 FX_Free(SDNEWSYMWIDTHS); 628 FX_Free(SDNEWSYMWIDTHS);
629 } 629 }
630 return nullptr; 630 return nullptr;
631 } 631 }
OLDNEW
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_SddProc.h ('k') | core/src/fxcodec/jbig2/JBig2_Segment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698