| Index: core/fpdfdoc/cpdf_annotlist.cpp
|
| diff --git a/core/fpdfdoc/cpdf_annotlist.cpp b/core/fpdfdoc/cpdf_annotlist.cpp
|
| index 153b25fac49db54d3793a4cfe0dba15ba93a35f4..e6c93c1d1ebf2602454d8d984695cf8cc49e7db5 100644
|
| --- a/core/fpdfdoc/cpdf_annotlist.cpp
|
| +++ b/core/fpdfdoc/cpdf_annotlist.cpp
|
| @@ -62,7 +62,7 @@ void CPDF_AnnotList::DisplayPass(CPDF_Page* pPage,
|
| CPDF_RenderOptions* pOptions,
|
| FX_RECT* clip_rect) {
|
| for (const auto& pAnnot : m_AnnotList) {
|
| - bool bWidget = pAnnot->GetSubType() == "Widget";
|
| + bool bWidget = pAnnot->GetSubtype() == "Widget";
|
| if ((bWidgetPass && !bWidget) || (!bWidgetPass && bWidget))
|
| continue;
|
|
|
|
|