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

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

Issue 1551563002: Fix partial information printed with blank window covering the center (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 11 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/include/fpdfapi/fpdf_page.h ('k') | core/src/fpdfapi/fpdf_page/fpdf_page_parser.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 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 "pageint.h" 7 #include "pageint.h"
8 8
9 #include "core/include/fpdfapi/fpdf_module.h" 9 #include "core/include/fpdfapi/fpdf_module.h"
10 #include "core/include/fpdfapi/fpdf_page.h" 10 #include "core/include/fpdfapi/fpdf_page.h"
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 } 668 }
669 CPDF_PageObjects::CPDF_PageObjects(FX_BOOL bReleaseMembers) 669 CPDF_PageObjects::CPDF_PageObjects(FX_BOOL bReleaseMembers)
670 : m_pFormDict(nullptr), 670 : m_pFormDict(nullptr),
671 m_pFormStream(nullptr), 671 m_pFormStream(nullptr),
672 m_pDocument(nullptr), 672 m_pDocument(nullptr),
673 m_pPageResources(nullptr), 673 m_pPageResources(nullptr),
674 m_pResources(nullptr), 674 m_pResources(nullptr),
675 m_Transparency(0), 675 m_Transparency(0),
676 m_ObjectList(128), 676 m_ObjectList(128),
677 m_bBackgroundAlphaNeeded(FALSE), 677 m_bBackgroundAlphaNeeded(FALSE),
678 m_bHasImageMask(FALSE),
678 m_bReleaseMembers(bReleaseMembers), 679 m_bReleaseMembers(bReleaseMembers),
679 m_pParser(nullptr), 680 m_pParser(nullptr),
680 m_ParseState(CONTENT_NOT_PARSED) {} 681 m_ParseState(CONTENT_NOT_PARSED) {}
681 CPDF_PageObjects::~CPDF_PageObjects() { 682 CPDF_PageObjects::~CPDF_PageObjects() {
682 delete m_pParser; 683 delete m_pParser;
683 if (!m_bReleaseMembers) { 684 if (!m_bReleaseMembers) {
684 return; 685 return;
685 } 686 }
686 FX_POSITION pos = m_ObjectList.GetHeadPosition(); 687 FX_POSITION pos = m_ObjectList.GetHeadPosition();
687 while (pos) { 688 while (pos) {
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 (FX_FLOAT)y0); 1004 (FX_FLOAT)y0);
1004 matrix = m_PageMatrix; 1005 matrix = m_PageMatrix;
1005 matrix.Concat(display_matrix); 1006 matrix.Concat(display_matrix);
1006 } 1007 }
1007 CPDF_ParseOptions::CPDF_ParseOptions() { 1008 CPDF_ParseOptions::CPDF_ParseOptions() {
1008 m_bTextOnly = FALSE; 1009 m_bTextOnly = FALSE;
1009 m_bMarkedContent = TRUE; 1010 m_bMarkedContent = TRUE;
1010 m_bSeparateForm = TRUE; 1011 m_bSeparateForm = TRUE;
1011 m_bDecodeInlineImage = FALSE; 1012 m_bDecodeInlineImage = FALSE;
1012 } 1013 }
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_page.h ('k') | core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698