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

Side by Side Diff: core/fpdfapi/fpdf_page/cpdf_image.cpp

Issue 2383543002: Move core/fpdfapi/fpdf_parser/include to core/fpdfapi/fpdf_parser (Closed)
Patch Set: 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/fpdfapi/fpdf_page/cpdf_image.h ('k') | core/fpdfapi/fpdf_page/cpdf_imageobject.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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/fpdfapi/fpdf_page/cpdf_image.h" 7 #include "core/fpdfapi/fpdf_page/cpdf_image.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "core/fpdfapi/fpdf_page/cpdf_page.h" 13 #include "core/fpdfapi/fpdf_page/cpdf_page.h"
14 #include "core/fpdfapi/fpdf_page/pageint.h" 14 #include "core/fpdfapi/fpdf_page/pageint.h"
15 #include "core/fpdfapi/fpdf_parser/cpdf_array.h"
15 #include "core/fpdfapi/fpdf_parser/cpdf_boolean.h" 16 #include "core/fpdfapi/fpdf_parser/cpdf_boolean.h"
16 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" 17 #include "core/fpdfapi/fpdf_parser/cpdf_document.h"
17 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" 18 #include "core/fpdfapi/fpdf_parser/cpdf_string.h"
18 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h"
19 #include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h" 19 #include "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h"
20 #include "core/fpdfapi/fpdf_render/render_int.h" 20 #include "core/fpdfapi/fpdf_render/render_int.h"
21 #include "core/fpdfapi/include/cpdf_modulemgr.h" 21 #include "core/fpdfapi/include/cpdf_modulemgr.h"
22 #include "core/fxcodec/include/fx_codec.h" 22 #include "core/fxcodec/include/fx_codec.h"
23 #include "core/fxge/include/fx_dib.h" 23 #include "core/fxge/include/fx_dib.h"
24 24
25 CPDF_Image::CPDF_Image(CPDF_Document* pDoc) 25 CPDF_Image::CPDF_Image(CPDF_Document* pDoc)
26 : CPDF_Image(pDoc, nullptr, false) {} 26 : CPDF_Image(pDoc, nullptr, false) {}
27 27
28 CPDF_Image::CPDF_Image(CPDF_Document* pDoc, CPDF_Stream* pStream, bool bInline) 28 CPDF_Image::CPDF_Image(CPDF_Document* pDoc, CPDF_Stream* pStream, bool bInline)
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 } 402 }
403 if (!ret) { 403 if (!ret) {
404 delete m_pDIBSource; 404 delete m_pDIBSource;
405 m_pDIBSource = nullptr; 405 m_pDIBSource = nullptr;
406 return FALSE; 406 return FALSE;
407 } 407 }
408 m_pMask = pSource->DetachMask(); 408 m_pMask = pSource->DetachMask();
409 m_MatteColor = pSource->GetMatteColor(); 409 m_MatteColor = pSource->GetMatteColor();
410 return FALSE; 410 return FALSE;
411 } 411 }
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_image.h ('k') | core/fpdfapi/fpdf_page/cpdf_imageobject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698