From 12d61f16381da571c7f435c9c4f9bd51daa57222 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 8 May 2018 19:11:28 +0000 Subject: Remove PDFTRANS_KNOCKOUT. No code actually checks to see if it is set. Change-Id: I37631713d568f116df1c0495ffd7d7d64ddce69a Reviewed-on: https://pdfium-review.googlesource.com/32186 Commit-Queue: dsinclair Reviewed-by: dsinclair --- core/fpdfapi/page/cpdf_pageobjectholder.cpp | 3 --- core/fpdfapi/page/cpdf_pageobjectholder.h | 1 - 2 files changed, 4 deletions(-) diff --git a/core/fpdfapi/page/cpdf_pageobjectholder.cpp b/core/fpdfapi/page/cpdf_pageobjectholder.cpp index 5bf627ace3..3c998d2424 100644 --- a/core/fpdfapi/page/cpdf_pageobjectholder.cpp +++ b/core/fpdfapi/page/cpdf_pageobjectholder.cpp @@ -83,9 +83,6 @@ void CPDF_PageObjectHolder::LoadTransInfo() { if (pGroup->GetIntegerFor("I")) { m_iTransparency |= PDFTRANS_ISOLATED; } - if (pGroup->GetIntegerFor("K")) { - m_iTransparency |= PDFTRANS_KNOCKOUT; - } } size_t CPDF_PageObjectHolder::GetPageObjectCount() const { diff --git a/core/fpdfapi/page/cpdf_pageobjectholder.h b/core/fpdfapi/page/cpdf_pageobjectholder.h index b26fc0d0e2..47c02fcf44 100644 --- a/core/fpdfapi/page/cpdf_pageobjectholder.h +++ b/core/fpdfapi/page/cpdf_pageobjectholder.h @@ -25,7 +25,6 @@ class PauseIndicatorIface; #define PDFTRANS_GROUP 0x0100 #define PDFTRANS_ISOLATED 0x0200 -#define PDFTRANS_KNOCKOUT 0x0400 // These structs are used to keep track of resources that have already been // generated in the page object holder. -- cgit v1.2.3