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

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

Issue 1434543003: Merge to XFA: Fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Fix XFA 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
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 "../../../../third_party/base/nonstd_unique_ptr.h"
10 #include "../../../../third_party/base/stl_util.h"
11 #include "../../../include/fxcrt/fx_basic.h" 9 #include "../../../include/fxcrt/fx_basic.h"
12 #include "JBig2_ArithIntDecoder.h" 10 #include "JBig2_ArithIntDecoder.h"
13 #include "JBig2_GrdProc.h" 11 #include "JBig2_GrdProc.h"
14 #include "JBig2_GrrdProc.h" 12 #include "JBig2_GrrdProc.h"
15 #include "JBig2_HuffmanDecoder.h" 13 #include "JBig2_HuffmanDecoder.h"
16 #include "JBig2_HuffmanTable.h" 14 #include "JBig2_HuffmanTable.h"
17 #include "JBig2_SymbolDict.h" 15 #include "JBig2_SymbolDict.h"
18 #include "JBig2_TrdProc.h" 16 #include "JBig2_TrdProc.h"
17 #include "third_party/base/nonstd_unique_ptr.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;
27 FX_DWORD HCHEIGHT, NSYMSDECODED; 27 FX_DWORD HCHEIGHT, NSYMSDECODED;
28 int32_t HCDH; 28 int32_t HCDH;
(...skipping 593 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

Powered by Google App Engine
This is Rietveld 408576698