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

Side by Side Diff: core/fpdfapi/render/render_int.h

Issue 2572843002: Return unique_ptr<>s from fxcodec/ (Closed)
Patch Set: std::move it Created 4 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
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_FPDFAPI_RENDER_RENDER_INT_H_ 7 #ifndef CORE_FPDFAPI_RENDER_RENDER_INT_H_
8 #define CORE_FPDFAPI_RENDER_RENDER_INT_H_ 8 #define CORE_FPDFAPI_RENDER_RENDER_INT_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 uint8_t* m_pMaskedLine; 166 uint8_t* m_pMaskedLine;
167 std::unique_ptr<CFX_DIBitmap> m_pCachedBitmap; 167 std::unique_ptr<CFX_DIBitmap> m_pCachedBitmap;
168 std::unique_ptr<CCodec_ScanlineDecoder> m_pDecoder; 168 std::unique_ptr<CCodec_ScanlineDecoder> m_pDecoder;
169 CPDF_DIBSource* m_pMask; 169 CPDF_DIBSource* m_pMask;
170 std::unique_ptr<CPDF_StreamAcc> m_pGlobalStream; 170 std::unique_ptr<CPDF_StreamAcc> m_pGlobalStream;
171 std::unique_ptr<CCodec_Jbig2Context> m_pJbig2Context; 171 std::unique_ptr<CCodec_Jbig2Context> m_pJbig2Context;
172 CPDF_Stream* m_pMaskStream; 172 CPDF_Stream* m_pMaskStream;
173 int m_Status; 173 int m_Status;
174 }; 174 };
175 175
176 CCodec_ScanlineDecoder* FPDFAPI_CreateFlateDecoder(
177 const uint8_t* src_buf,
178 uint32_t src_size,
179 int width,
180 int height,
181 int nComps,
182 int bpc,
183 const CPDF_Dictionary* pParams);
184
185 #endif // CORE_FPDFAPI_RENDER_RENDER_INT_H_ 176 #endif // CORE_FPDFAPI_RENDER_RENDER_INT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698