| Index: core/fpdfdoc/cpdf_annot.cpp
|
| diff --git a/core/fpdfdoc/cpdf_annot.cpp b/core/fpdfdoc/cpdf_annot.cpp
|
| index e70ee27a98413f702c20f8fa8f9be61ebe80dd38..10360eaf68517e1454493795cd3eeb5f4c395377 100644
|
| --- a/core/fpdfdoc/cpdf_annot.cpp
|
| +++ b/core/fpdfdoc/cpdf_annot.cpp
|
| @@ -51,7 +51,7 @@ void CPDF_Annot::GenerateAPIfNeeded() {
|
| void CPDF_Annot::ClearCachedAP() {
|
| m_APMap.clear();
|
| }
|
| -CFX_ByteString CPDF_Annot::GetSubType() const {
|
| +CFX_ByteString CPDF_Annot::GetSubtype() const {
|
| return m_sSubtype;
|
| }
|
|
|
| @@ -186,9 +186,9 @@ FX_BOOL CPDF_Annot::DrawInContext(const CPDF_Page* pPage,
|
| void CPDF_Annot::DrawBorder(CFX_RenderDevice* pDevice,
|
| const CFX_Matrix* pUser2Device,
|
| const CPDF_RenderOptions* pOptions) {
|
| - if (GetSubType() == "Popup") {
|
| + if (GetSubtype() == "Popup")
|
| return;
|
| - }
|
| +
|
| uint32_t annot_flags = GetFlags();
|
| if (annot_flags & ANNOTFLAG_HIDDEN) {
|
| return;
|
|
|