Start list rearrangement at requested item [pdfium : main]

0 views
Skip to first unread message

Kuka (Gerrit)

unread,
May 28, 2026, 11:11:03 AM (7 days ago) May 28
to pdfium-...@googlegroups.com

Kuka has uploaded the change for review

Commit message

Start list rearrangement at requested item

Limit CPWL_ListCtrl::ReArrange() to walk from the requested item index, and handle empty lists before clamping the start index.

BUG=477200528
Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c

Change diff

diff --git a/fpdfsdk/pwl/cpwl_list_ctrl.cpp b/fpdfsdk/pwl/cpwl_list_ctrl.cpp
index 6e9db91..58b3f7b 100644
--- a/fpdfsdk/pwl/cpwl_list_ctrl.cpp
+++ b/fpdfsdk/pwl/cpwl_list_ctrl.cpp
@@ -516,12 +516,22 @@
}

void CPWL_ListCtrl::ReArrange(int32_t nItemIndex) {
+ const int32_t nCount = GetCount();
+ if (nCount == 0) {
+ content_rect_ = CFX_FloatRect();
+ SetScrollInfo();
+ return;
+ }
+
+ nItemIndex = std::max(0, std::min(nItemIndex, nCount - 1));
+
float fPosY = 0.0f;
if (IsValid(nItemIndex - 1)) {
fPosY = list_items_[nItemIndex - 1]->GetRect().bottom;
}

- for (const auto& pListItem : list_items_) {
+ for (int32_t i = nItemIndex; i < nCount; ++i) {
+ const auto& pListItem = list_items_[i];
float fListItemHeight = pListItem->GetItemHeight();
pListItem->SetRect(
CFX_FloatRect(0.0f, fPosY + fListItemHeight, 0.0f, fPosY));

Change information

Files:
  • M fpdfsdk/pwl/cpwl_list_ctrl.cpp
Change size: S
Delta: 1 file changed, 11 insertions(+), 1 deletion(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: pdfium
Gerrit-Branch: main
Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
Gerrit-Change-Number: 148610
Gerrit-PatchSet: 1
Gerrit-Owner: Kuka <tyck...@gmail.com>
unsatisfied_requirement
open
diffy

Lei Zhang (Gerrit)

unread,
May 28, 2026, 1:20:34 PM (7 days ago) May 28
to Kuka, Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
Attention needed from Kuka and Tom Sepez

Lei Zhang added 6 comments

Commit Message
Line 9, Patchset 1 (Latest):Limit CPWL_ListCtrl::ReArrange() to walk from the requested item index, and handle empty lists before clamping the start index.
Lei Zhang . unresolved

Wrap at 72 columns.

Line 11, Patchset 1 (Latest):BUG=477200528
Lei Zhang . unresolved

Bug: NNN

File fpdfsdk/pwl/cpwl_list_ctrl.cpp
Line 519, Patchset 1 (Latest): const int32_t nCount = GetCount();
Lei Zhang . unresolved

In general, PDFium is trying to use Google C++ style naming going forward. So this can be named "count".

Line 520, Patchset 1 (Latest): if (nCount == 0) {
Lei Zhang . unresolved

Check `list_items_.empty()` instead.

Line 526, Patchset 1 (Latest): nItemIndex = std::max(0, std::min(nItemIndex, nCount - 1));
Lei Zhang . unresolved

Given the callers, I believe this pre-condition should hold: `CHECK_GE(nItemIndex, 0);`

If this CL adds that to the top of this method, then the std::max() part here can be removed, right?

Line 533, Patchset 1 (Latest): for (int32_t i = nItemIndex; i < nCount; ++i) {
Lei Zhang . unresolved

Instead of indexing here, how about something like `for (const auto& pListItem : pdfium::span(list_items_).subspan(nItemIndex)) {` ?

Open in Gerrit

Related details

Attention is currently required from:
  • Kuka
  • Tom Sepez
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 1
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Kuka <tyck...@gmail.com>
    Gerrit-Comment-Date: Thu, 28 May 2026 17:20:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    open
    diffy

    Tom Sepez (Gerrit)

    unread,
    May 28, 2026, 2:12:20 PM (7 days ago) May 28
    to Kuka, Lei Zhang, pdfium-...@googlegroups.com
    Attention needed from Kuka and Lei Zhang

    Tom Sepez added 2 comments

    File fpdfsdk/pwl/cpwl_list_ctrl.cpp
    Line 520, Patchset 4 (Latest):void CPWL_ListCtrl::ReArrange(int32_t nItemIndex) {
    Tom Sepez . unresolved

    nit: pre-existing: can we call this Rearrange instead of ReArrange while we're at it?

    Line 539, Patchset 4 (Latest): .subspan(pdfium::checked_cast<size_t>(nItemIndex))) {
    Tom Sepez . unresolved

    Having checked GE above, we know that nItemIndex is valid as a size_t.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kuka
    • Lei Zhang
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 4
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Lei Zhang <the...@chromium.org>
    Gerrit-Attention: Kuka <tyck...@gmail.com>
    Gerrit-Comment-Date: Thu, 28 May 2026 18:12:16 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    open
    diffy

    Lei Zhang (Gerrit)

    unread,
    May 28, 2026, 2:16:56 PM (7 days ago) May 28
    to Kuka, Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
    Attention needed from Kuka

    Lei Zhang added 2 comments

    File fpdfsdk/pwl/cpwl_list_ctrl.cpp
    Line 520, Patchset 4 (Latest):void CPWL_ListCtrl::ReArrange(int32_t nItemIndex) {
    Tom Sepez . unresolved

    nit: pre-existing: can we call this Rearrange instead of ReArrange while we're at it?

    Lei Zhang

    I figured someone can do this as a follow-up, and convert `nItemIndex` to `size_t`.

    Line 539, Patchset 4 (Latest): .subspan(pdfium::checked_cast<size_t>(nItemIndex))) {
    Tom Sepez . unresolved

    Having checked GE above, we know that nItemIndex is valid as a size_t.

    Lei Zhang

    Or maybe something like: `size_t actual_index = std::min<size_t>(nItemIndex, list_items_.size() - 1);`

    Either way, no need for `checked_cast()` here.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kuka
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 4
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Kuka <tyck...@gmail.com>
    Gerrit-Comment-Date: Thu, 28 May 2026 18:16:53 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Tom Sepez <tse...@chromium.org>
    unsatisfied_requirement
    open
    diffy

    Lei Zhang (Gerrit)

    unread,
    May 28, 2026, 2:18:16 PM (7 days ago) May 28
    to Kuka, Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
    Attention needed from Kuka

    Lei Zhang added 1 comment

    File testing/resources/pixel/bug_477200528_expected.pdf.0.png
    File-level comment, Patchset 4 (Latest):
    Lei Zhang . unresolved

    Run this through optipng to shrink the PNG a bit.

    BTW, this will likely require different expectation files for Win/Mac/Linux.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kuka
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 4
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Kuka <tyck...@gmail.com>
    Gerrit-Comment-Date: Thu, 28 May 2026 18:18:12 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    open
    diffy

    Lei Zhang (Gerrit)

    unread,
    May 28, 2026, 2:25:03 PM (7 days ago) May 28
    to Kuka, Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
    Attention needed from Kuka

    Lei Zhang added 1 comment

    File testing/resources/pixel/bug_477200528_expected.pdf.0.png
    Lei Zhang . unresolved

    Run this through optipng to shrink the PNG a bit.

    BTW, this will likely require different expectation files for Win/Mac/Linux.

    Lei Zhang

    https://ci.chromium.org/ui/p/pdfium/builders/try/mac_no_v8/32476/test-results should show the comparison between this file and what the Mac try bot rendered. Add that to the CL? I ran try jobs on all 3 platforms with AGG and Skia.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kuka
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 4
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Kuka <tyck...@gmail.com>
    Gerrit-Comment-Date: Thu, 28 May 2026 18:25:00 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
    unsatisfied_requirement
    open
    diffy

    Kuka (Gerrit)

    unread,
    May 29, 2026, 4:24:22 AM (6 days ago) May 29
    to Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
    Attention needed from Lei Zhang

    Kuka added 7 comments

    Commit Message
    Line 9, Patchset 1:Limit CPWL_ListCtrl::ReArrange() to walk from the requested item index, and handle empty lists before clamping the start index.
    Lei Zhang . resolved

    Wrap at 72 columns.

    Kuka

    Done

    Line 11, Patchset 1:BUG=477200528
    Lei Zhang . resolved

    Bug: NNN

    Kuka

    Done

    File fpdfsdk/pwl/cpwl_list_ctrl.cpp
    Line 519, Patchset 1: const int32_t nCount = GetCount();
    Lei Zhang . resolved

    In general, PDFium is trying to use Google C++ style naming going forward. So this can be named "count".

    Kuka

    Done

    Line 520, Patchset 1: if (nCount == 0) {
    Lei Zhang . resolved

    Check `list_items_.empty()` instead.

    Kuka

    Done

    Line 526, Patchset 1: nItemIndex = std::max(0, std::min(nItemIndex, nCount - 1));
    Lei Zhang . resolved

    Given the callers, I believe this pre-condition should hold: `CHECK_GE(nItemIndex, 0);`

    If this CL adds that to the top of this method, then the std::max() part here can be removed, right?

    Kuka

    Done

    Line 533, Patchset 1: for (int32_t i = nItemIndex; i < nCount; ++i) {
    Lei Zhang . resolved

    Instead of indexing here, how about something like `for (const auto& pListItem : pdfium::span(list_items_).subspan(nItemIndex)) {` ?

    Kuka

    Done

    File testing/resources/pixel/bug_477200528_expected.pdf.0.png
    Lei Zhang . unresolved

    Run this through optipng to shrink the PNG a bit.

    BTW, this will likely require different expectation files for Win/Mac/Linux.

    Lei Zhang

    https://ci.chromium.org/ui/p/pdfium/builders/try/mac_no_v8/32476/test-results should show the comparison between this file and what the Mac try bot rendered. Add that to the CL? I ran try jobs on all 3 platforms with AGG and Skia.

    Kuka

    Thanks. Just to confirm, do I only need to add the Mac expectation image from the try bot results, or should I add expectation images for all platform/backend combinations that differ (Win/Linux/Mac, AGG/Skia)?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Lei Zhang
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 4
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Lei Zhang <the...@chromium.org>
    Gerrit-Comment-Date: Fri, 29 May 2026 08:24:18 +0000
    unsatisfied_requirement
    open
    diffy

    Kuka (Gerrit)

    unread,
    May 29, 2026, 1:42:41 PM (6 days ago) May 29
    to Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
    Attention needed from Lei Zhang and Tom Sepez

    Kuka added 2 comments

    File fpdfsdk/pwl/cpwl_list_ctrl.cpp
    Line 520, Patchset 4:void CPWL_ListCtrl::ReArrange(int32_t nItemIndex) {
    Tom Sepez . resolved

    nit: pre-existing: can we call this Rearrange instead of ReArrange while we're at it?

    Lei Zhang

    I figured someone can do this as a follow-up, and convert `nItemIndex` to `size_t`.

    Kuka

    Done

    Line 539, Patchset 4: .subspan(pdfium::checked_cast<size_t>(nItemIndex))) {
    Tom Sepez . resolved

    Having checked GE above, we know that nItemIndex is valid as a size_t.

    Lei Zhang

    Or maybe something like: `size_t actual_index = std::min<size_t>(nItemIndex, list_items_.size() - 1);`

    Either way, no need for `checked_cast()` here.

    Kuka

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Lei Zhang
    • Tom Sepez
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 6
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Lei Zhang <the...@chromium.org>
    Gerrit-Attention: Tom Sepez <tse...@chromium.org>
    Gerrit-Comment-Date: Fri, 29 May 2026 17:42:37 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
    Comment-In-Reply-To: Tom Sepez <tse...@chromium.org>
    unsatisfied_requirement
    open
    diffy

    Lei Zhang (Gerrit)

    unread,
    May 29, 2026, 3:05:21 PM (6 days ago) May 29
    to Kuka, Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
    Attention needed from Kuka and Tom Sepez

    Lei Zhang added 1 comment

    File testing/resources/pixel/bug_477200528_expected.pdf.0.png
    Lei Zhang . unresolved

    Run this through optipng to shrink the PNG a bit.

    BTW, this will likely require different expectation files for Win/Mac/Linux.

    Lei Zhang

    https://ci.chromium.org/ui/p/pdfium/builders/try/mac_no_v8/32476/test-results should show the comparison between this file and what the Mac try bot rendered. Add that to the CL? I ran try jobs on all 3 platforms with AGG and Skia.

    Kuka

    Thanks. Just to confirm, do I only need to add the Mac expectation image from the try bot results, or should I add expectation images for all platform/backend combinations that differ (Win/Linux/Mac, AGG/Skia)?

    Lei Zhang

    The CL needs to have the variations to make the try bots happy across Win/Mac/Linux. See the failures here: https://pdfium-review.googlesource.com/c/pdfium/+/148610?checksPatchset=4&tab=checks

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kuka
    • Tom Sepez
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 6
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Kuka <tyck...@gmail.com>
    Gerrit-Comment-Date: Fri, 29 May 2026 19:05:17 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
    Comment-In-Reply-To: Kuka <tyck...@gmail.com>
    unsatisfied_requirement
    open
    diffy

    Kuka (Gerrit)

    unread,
    May 30, 2026, 6:05:15 AM (5 days ago) May 30
    to Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
    Attention needed from Lei Zhang and Tom Sepez

    Kuka added 2 comments

    File fpdfsdk/pwl/cpwl_list_ctrl.cpp
    Line 539, Patchset 4: .subspan(pdfium::checked_cast<size_t>(nItemIndex))) {
    Tom Sepez . resolved

    Having checked GE above, we know that nItemIndex is valid as a size_t.

    Lei Zhang

    Or maybe something like: `size_t actual_index = std::min<size_t>(nItemIndex, list_items_.size() - 1);`

    Either way, no need for `checked_cast()` here.

    Kuka

    Done

    Kuka

    The build fails at fpdfsdk/pwl/cpwl_list_ctrl.cpp:537:

        for (const auto& pListItem : pdfium::span(list_items_).subspan(nItemIndex)) {
      `nItemIndex` is `int32_t`, but `subspan()` wraps its argument in
    `StrictNumeric<size_t>`. The constructor of `StrictNumeric` calls
    `strict_cast<size_t>(int32_t_value)`, which is a compile-time error
    because `unsigned long long` cannot represent all `int` values
    (i.e., negative numbers fail the `kContained` range check).
      Even though `CHECK_GE(nItemIndex, 0)` at line 521 guarantees
    `nItemIndex` is non-negative at runtime, the compiler doesn't see that.
    The fix should be either:
        .subspan(pdfium::checked_cast<size_t>(nItemIndex))
      or computing a `size_t` index upfront:
        size_t index = std::min<size_t>(nItemIndex, list_items_.size() - 1);
    Line 539, Patchset 4: .subspan(pdfium::checked_cast<size_t>(nItemIndex))) {
    Tom Sepez . unresolved

    Having checked GE above, we know that nItemIndex is valid as a size_t.

    Lei Zhang

    Or maybe something like: `size_t actual_index = std::min<size_t>(nItemIndex, list_items_.size() - 1);`

    Either way, no need for `checked_cast()` here.

    Kuka

    Done

    Kuka

    Build error at cpwl_list_ctrl.cpp:537:

        .subspan(nItemIndex)

    `nItemIndex` is `int32_t`, but `subspan()` expects a `size_t`.

    The argument is wrapped in `StrictNumeric<size_t>`, which performs a
    `strict_cast<size_t>()`. This fails to compile because `size_t` cannot
    represent all possible `int32_t` values.

    Although `CHECK_GE(nItemIndex, 0)` guarantees the value is non-negative
    at runtime, the compiler cannot infer that. Use:

        .subspan(pdfium::checked_cast<size_t>(nItemIndex))
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Lei Zhang
    • Tom Sepez
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 6
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Lei Zhang <the...@chromium.org>
    Gerrit-Attention: Tom Sepez <tse...@chromium.org>
    Gerrit-Comment-Date: Sat, 30 May 2026 10:05:09 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
    Comment-In-Reply-To: Tom Sepez <tse...@chromium.org>
    Comment-In-Reply-To: Kuka <tyck...@gmail.com>
    unsatisfied_requirement
    open
    diffy

    Lei Zhang (Gerrit)

    unread,
    Jun 1, 2026, 4:09:52 PM (3 days ago) Jun 1
    to Kuka, Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
    Attention needed from Kuka and Tom Sepez

    Lei Zhang added 1 comment

    File fpdfsdk/pwl/cpwl_list_ctrl.cpp
    Line 539, Patchset 4: .subspan(pdfium::checked_cast<size_t>(nItemIndex))) {
    Tom Sepez . unresolved

    Having checked GE above, we know that nItemIndex is valid as a size_t.

    Lei Zhang

    Or maybe something like: `size_t actual_index = std::min<size_t>(nItemIndex, list_items_.size() - 1);`

    Either way, no need for `checked_cast()` here.

    Kuka

    Done

    Kuka

    Build error at cpwl_list_ctrl.cpp:537:

        .subspan(nItemIndex)

    `nItemIndex` is `int32_t`, but `subspan()` expects a `size_t`.

    The argument is wrapped in `StrictNumeric<size_t>`, which performs a
    `strict_cast<size_t>()`. This fails to compile because `size_t` cannot
    represent all possible `int32_t` values.

    Although `CHECK_GE(nItemIndex, 0)` guarantees the value is non-negative
    at runtime, the compiler cannot infer that. Use:

        .subspan(pdfium::checked_cast<size_t>(nItemIndex))
    Lei Zhang

    After the `CHECK_GE()` assertion, it should be safe to use `static_cast<size_t>()`. You can certainly also calculate the index as a separate size_t variable.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kuka
    • Tom Sepez
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 6
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Kuka <tyck...@gmail.com>
    Gerrit-Comment-Date: Mon, 01 Jun 2026 20:09:48 +0000
    unsatisfied_requirement
    open
    diffy

    Kuka (Gerrit)

    unread,
    Jun 2, 2026, 11:29:44 AM (2 days ago) Jun 2
    to Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
    Attention needed from Lei Zhang and Tom Sepez

    Kuka added 2 comments

    Patchset-level comments
    File-level comment, Patchset 7 (Latest):
    Kuka . unresolved

    Uploaded the expected images for the other platform/backend variants, and kept
    the code change limited to the subspan() index conversion. Could you please run
    CQ again to verify the updated expectations?

    File fpdfsdk/pwl/cpwl_list_ctrl.cpp
    Line 539, Patchset 4: .subspan(pdfium::checked_cast<size_t>(nItemIndex))) {
    Tom Sepez . resolved

    Having checked GE above, we know that nItemIndex is valid as a size_t.

    Lei Zhang

    Or maybe something like: `size_t actual_index = std::min<size_t>(nItemIndex, list_items_.size() - 1);`

    Either way, no need for `checked_cast()` here.

    Kuka

    Done

    Kuka

    Build error at cpwl_list_ctrl.cpp:537:

        .subspan(nItemIndex)

    `nItemIndex` is `int32_t`, but `subspan()` expects a `size_t`.

    The argument is wrapped in `StrictNumeric<size_t>`, which performs a
    `strict_cast<size_t>()`. This fails to compile because `size_t` cannot
    represent all possible `int32_t` values.

    Although `CHECK_GE(nItemIndex, 0)` guarantees the value is non-negative
    at runtime, the compiler cannot infer that. Use:

        .subspan(pdfium::checked_cast<size_t>(nItemIndex))
    Lei Zhang

    After the `CHECK_GE()` assertion, it should be safe to use `static_cast<size_t>()`. You can certainly also calculate the index as a separate size_t variable.

    Kuka

    I kept the existing nItemIndex logic unchanged and only changed
    the subspan() argument to static_cast<size_t>(nItemIndex), as suggested.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Lei Zhang
    • Tom Sepez
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 7
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Lei Zhang <the...@chromium.org>
    Gerrit-Attention: Tom Sepez <tse...@chromium.org>
    Gerrit-Comment-Date: Tue, 02 Jun 2026 15:29:39 +0000
    unsatisfied_requirement
    open
    diffy

    Tom Sepez (Gerrit)

    unread,
    Jun 2, 2026, 3:49:05 PM (2 days ago) Jun 2
    to Kuka, Lei Zhang, pdfium-...@googlegroups.com
    Attention needed from Kuka and Lei Zhang

    Tom Sepez voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kuka
    • Lei Zhang
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
    Gerrit-Change-Number: 148610
    Gerrit-PatchSet: 7
    Gerrit-Owner: Kuka <tyck...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Lei Zhang <the...@chromium.org>
    Gerrit-Attention: Kuka <tyck...@gmail.com>
    Gerrit-Comment-Date: Tue, 02 Jun 2026 19:49:03 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Lei Zhang (Gerrit)

    unread,
    Jun 2, 2026, 4:01:17 PM (2 days ago) Jun 2
    to Kuka, Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
    Attention needed from Kuka

    Lei Zhang voted and added 2 comments

    Votes added by Lei Zhang

    Code-Review+1
    Commit-Queue+1

    2 comments

    Patchset-level comments
    Kuka . resolved

    Uploaded the expected images for the other platform/backend variants, and kept
    the code change limited to the subspan() index conversion. Could you please run
    CQ again to verify the updated expectations?

    Lei Zhang

    Acknowledged

    File testing/resources/pixel/bug_477200528_expected.pdf.0.png

    Run this through optipng to shrink the PNG a bit.

    BTW, this will likely require different expectation files for Win/Mac/Linux.

    Lei Zhang

    https://ci.chromium.org/ui/p/pdfium/builders/try/mac_no_v8/32476/test-results should show the comparison between this file and what the Mac try bot rendered. Add that to the CL? I ran try jobs on all 3 platforms with AGG and Skia.

    Kuka

    Thanks. Just to confirm, do I only need to add the Mac expectation image from the try bot results, or should I add expectation images for all platform/backend combinations that differ (Win/Linux/Mac, AGG/Skia)?

    Lei Zhang

    The CL needs to have the variations to make the try bots happy across Win/Mac/Linux. See the failures here: https://pdfium-review.googlesource.com/c/pdfium/+/148610?checksPatchset=4&tab=checks

    Lei Zhang

    Acknowledged

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kuka
    Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: pdfium
      Gerrit-Branch: main
      Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
      Gerrit-Change-Number: 148610
      Gerrit-PatchSet: 7
      Gerrit-Owner: Kuka <tyck...@gmail.com>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
      Gerrit-Attention: Kuka <tyck...@gmail.com>
      Gerrit-Comment-Date: Tue, 02 Jun 2026 20:01:12 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
      Comment-In-Reply-To: Kuka <tyck...@gmail.com>
      satisfied_requirement
      open
      diffy

      Lei Zhang (Gerrit)

      unread,
      Jun 2, 2026, 4:33:56 PM (2 days ago) Jun 2
      to Kuka, pdfium...@luci-project-accounts.iam.gserviceaccount.com, Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
      Attention needed from Kuka

      Lei Zhang added 1 comment

      Patchset-level comments
      Lei Zhang . resolved

      Needs an entry for this test case in testing/SUPPRESSIONS around line 370.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Kuka
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: pdfium
      Gerrit-Branch: main
      Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
      Gerrit-Change-Number: 148610
      Gerrit-PatchSet: 7
      Gerrit-Owner: Kuka <tyck...@gmail.com>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
      Gerrit-Attention: Kuka <tyck...@gmail.com>
      Gerrit-Comment-Date: Tue, 02 Jun 2026 20:33:52 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy

      Kuka (Gerrit)

      unread,
      Jun 3, 2026, 10:20:13 AM (yesterday) Jun 3
      to pdfium...@luci-project-accounts.iam.gserviceaccount.com, Lei Zhang, Tom Sepez, pdfium-...@googlegroups.com
      Attention needed from Lei Zhang and Tom Sepez

      Kuka added 1 comment

      Patchset-level comments
      File-level comment, Patchset 8 (Latest):
      Kuka . unresolved

      I updated testing/SUPPRESSIONS. Would you mind running CQ again when you have a
      chance? Thank you!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Lei Zhang
      • Tom Sepez
      Submit Requirements:
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: pdfium
      Gerrit-Branch: main
      Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
      Gerrit-Change-Number: 148610
      Gerrit-PatchSet: 8
      Gerrit-Attention: Lei Zhang <the...@chromium.org>
      Gerrit-Attention: Tom Sepez <tse...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Jun 2026 14:20:07 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      open
      diffy

      Lei Zhang (Gerrit)

      unread,
      Jun 3, 2026, 12:28:24 PM (yesterday) Jun 3
      to Kuka, Lei Zhang, pdfium...@luci-project-accounts.iam.gserviceaccount.com, Tom Sepez, pdfium-...@googlegroups.com
      Attention needed from Kuka and Tom Sepez

      Lei Zhang voted

      Code-Review+1
      Commit-Queue+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Kuka
      • Tom Sepez
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: pdfium
      Gerrit-Branch: main
      Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
      Gerrit-Change-Number: 148610
      Gerrit-PatchSet: 8
      Gerrit-Owner: Kuka <tyck...@gmail.com>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
      Gerrit-Attention: Tom Sepez <tse...@chromium.org>
      Gerrit-Attention: Kuka <tyck...@gmail.com>
      Gerrit-Comment-Date: Wed, 03 Jun 2026 16:28:21 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Lei Zhang (Gerrit)

      unread,
      Jun 3, 2026, 12:28:45 PM (yesterday) Jun 3
      to Kuka, Lei Zhang, pdfium...@luci-project-accounts.iam.gserviceaccount.com, Tom Sepez, pdfium-...@googlegroups.com
      Attention needed from Kuka and Tom Sepez

      Lei Zhang added 1 comment

      Patchset-level comments
      Kuka . resolved

      I updated testing/SUPPRESSIONS. Would you mind running CQ again when you have a
      chance? Thank you!

      Lei Zhang

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Kuka
      • Tom Sepez
      Submit Requirements:
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: pdfium
        Gerrit-Branch: main
        Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
        Gerrit-Change-Number: 148610
        Gerrit-PatchSet: 8
        Gerrit-Owner: Kuka <tyck...@gmail.com>
        Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
        Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
        Gerrit-Attention: Tom Sepez <tse...@chromium.org>
        Gerrit-Attention: Kuka <tyck...@gmail.com>
        Gerrit-Comment-Date: Wed, 03 Jun 2026 16:28:43 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Kuka <tyck...@gmail.com>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Tom Sepez (Gerrit)

        unread,
        Jun 3, 2026, 12:34:09 PM (yesterday) Jun 3
        to Kuka, Lei Zhang, pdfium...@luci-project-accounts.iam.gserviceaccount.com, pdfium-...@googlegroups.com
        Attention needed from Kuka

        Tom Sepez voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Kuka
        Submit Requirements:
          • requirement satisfiedCode-Owners
          • requirement satisfiedCode-Review
          • requirement satisfiedReview-Enforcement
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: pdfium
          Gerrit-Branch: main
          Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
          Gerrit-Change-Number: 148610
          Gerrit-PatchSet: 8
          Gerrit-Owner: Kuka <tyck...@gmail.com>
          Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
          Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
          Gerrit-Attention: Kuka <tyck...@gmail.com>
          Gerrit-Comment-Date: Wed, 03 Jun 2026 16:34:05 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Lei Zhang (Gerrit)

          unread,
          Jun 3, 2026, 1:20:22 PM (yesterday) Jun 3
          to Kuka, Tom Sepez, Lei Zhang, pdfium...@luci-project-accounts.iam.gserviceaccount.com, pdfium-...@googlegroups.com
          Attention needed from Kuka

          Lei Zhang added 1 comment

          File testing/SUPPRESSIONS
          Line 371, Patchset 8 (Latest):bug_477200528.pdf * * * gdi
          Lei Zhang . unresolved

          Actually needs to be near line 767 in the other list below. List the file as bug_477200528.in. My earlier comment was bad advice.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Kuka
          Submit Requirements:
            • requirement satisfiedCode-Owners
            • requirement satisfiedCode-Review
            • requirement is not satisfiedNo-Unresolved-Comments
            • requirement satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: pdfium
            Gerrit-Branch: main
            Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
            Gerrit-Change-Number: 148610
            Gerrit-PatchSet: 8
            Gerrit-Owner: Kuka <tyck...@gmail.com>
            Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
            Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
            Gerrit-Attention: Kuka <tyck...@gmail.com>
            Gerrit-Comment-Date: Wed, 03 Jun 2026 17:20:20 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Kuka (Gerrit)

            unread,
            10:52 AM (6 hours ago) 10:52 AM
            to Tom Sepez, Lei Zhang, pdfium...@luci-project-accounts.iam.gserviceaccount.com, pdfium-...@googlegroups.com
            Attention needed from Lei Zhang and Tom Sepez

            Kuka added 1 comment

            File testing/SUPPRESSIONS
            Line 371, Patchset 8:bug_477200528.pdf * * * gdi
            Lei Zhang . unresolved

            Actually needs to be near line 767 in the other list below. List the file as bug_477200528.in. My earlier comment was bad advice.

            Kuka

            I uploaded the fix for testing/SUPPRESSIONS. It now lists bug_477200528.in in
            the GDI suppression list as suggested. Could you please take another look when
            you have a chance?

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Lei Zhang
            • Tom Sepez
            Submit Requirements:
            • requirement is not satisfiedCode-Owners
            • requirement is not satisfiedCode-Review
            • requirement is not satisfiedNo-Unresolved-Comments
            • requirement is not satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: pdfium
            Gerrit-Branch: main
            Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
            Gerrit-Change-Number: 148610
            Gerrit-PatchSet: 9
            Gerrit-Attention: Lei Zhang <the...@chromium.org>
            Gerrit-Attention: Tom Sepez <tse...@chromium.org>
            Gerrit-Comment-Date: Thu, 04 Jun 2026 14:52:13 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
            unsatisfied_requirement
            open
            diffy

            Lei Zhang (Gerrit)

            unread,
            1:26 PM (3 hours ago) 1:26 PM
            to Kuka, Lei Zhang, Tom Sepez, pdfium...@luci-project-accounts.iam.gserviceaccount.com, pdfium-...@googlegroups.com
            Attention needed from Kuka and Tom Sepez

            Lei Zhang voted and added 1 comment

            Votes added by Lei Zhang

            Code-Review+1
            Commit-Queue+1

            1 comment

            File testing/SUPPRESSIONS
            Line 371, Patchset 8:bug_477200528.pdf * * * gdi
            Lei Zhang . resolved

            Actually needs to be near line 767 in the other list below. List the file as bug_477200528.in. My earlier comment was bad advice.

            Kuka

            I uploaded the fix for testing/SUPPRESSIONS. It now lists bug_477200528.in in
            the GDI suppression list as suggested. Could you please take another look when
            you have a chance?

            Lei Zhang

            Done

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Kuka
            • Tom Sepez
            Submit Requirements:
            • requirement satisfiedCode-Owners
            • requirement satisfiedCode-Review
            • requirement is not satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: pdfium
            Gerrit-Branch: main
            Gerrit-Change-Id: I6c71184704d5a0632d235cc328c42990b45b3d1c
            Gerrit-Change-Number: 148610
            Gerrit-PatchSet: 9
            Gerrit-Owner: Kuka <tyck...@gmail.com>
            Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
            Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
            Gerrit-Attention: Tom Sepez <tse...@chromium.org>
            Gerrit-Attention: Kuka <tyck...@gmail.com>
            Gerrit-Comment-Date: Thu, 04 Jun 2026 17:26:27 +0000
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy
            Reply all
            Reply to author
            Forward
            0 new messages