| Index: core/fpdfdoc/cpdf_pagelabel.cpp
|
| diff --git a/core/fpdfdoc/cpdf_pagelabel.cpp b/core/fpdfdoc/cpdf_pagelabel.cpp
|
| index 2f02e84bf35d99d624d0b17250e8e53408699f4d..6cf6a8a3043d2831abb5861412c29817865f77b1 100644
|
| --- a/core/fpdfdoc/cpdf_pagelabel.cpp
|
| +++ b/core/fpdfdoc/cpdf_pagelabel.cpp
|
| @@ -121,6 +121,7 @@ int32_t CPDF_PageLabel::GetPageByLabel(const CFX_ByteStringC& bsLabel) const {
|
| if (!pPDFRoot)
|
| return -1;
|
|
|
| + // TOOD(dsinclair): Verify this works for XFA pages.
|
| int nPages = m_pDocument->GetPageCount();
|
| for (int i = 0; i < nPages; i++) {
|
| if (PDF_EncodeText(GetLabel(i)).Compare(bsLabel))
|
|
|