diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-08 19:11:28 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-08 19:11:28 +0000 |
commit | 12d61f16381da571c7f435c9c4f9bd51daa57222 (patch) | |
tree | 6ec77c745beeaf1400d7d81020a1a3caf28f56c1 | |
parent | fdd0ef61e79aa1ca7c0859b8ff45740b6fb96bc2 (diff) | |
download | pdfium-12d61f16381da571c7f435c9c4f9bd51daa57222.tar.xz |
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 <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
-rw-r--r-- | core/fpdfapi/page/cpdf_pageobjectholder.cpp | 3 | ||||
-rw-r--r-- | core/fpdfapi/page/cpdf_pageobjectholder.h | 1 |
2 files changed, 0 insertions, 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. |