Move Blink images to use ByteSize rather than ByteCount [chromium/src : main]

0 views
Skip to first unread message

Avi Drissman (Gerrit)

unread,
Dec 17, 2025, 10:35:29 AM (2 days ago) Dec 17
to Avi Drissman, Kenneth Russell, Mike West, Corentin Wallez, Francois Pierre Doray, Jean-Philippe Gravel, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org
Attention needed from Corentin Wallez, Francois Pierre Doray, Jean-Philippe Gravel, Kenneth Russell and Mike West

Avi Drissman added 1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Avi Drissman . resolved

I think this is a minimum set to cover ownership here; PTAL.

Open in Gerrit

Related details

Attention is currently required from:
  • Corentin Wallez
  • Francois Pierre Doray
  • Jean-Philippe Gravel
  • Kenneth Russell
  • Mike West
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
Gerrit-Change-Number: 7266147
Gerrit-PatchSet: 3
Gerrit-Owner: Avi Drissman <a...@chromium.org>
Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
Gerrit-Reviewer: Corentin Wallez <cwa...@chromium.org>
Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
Gerrit-Reviewer: Mike West <mk...@chromium.org>
Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
Gerrit-CC: Stephen Chenney <sche...@chromium.org>
Gerrit-Attention: Kenneth Russell <k...@chromium.org>
Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
Gerrit-Attention: Mike West <mk...@chromium.org>
Gerrit-Attention: Corentin Wallez <cwa...@chromium.org>
Gerrit-Attention: Francois Pierre Doray <fdo...@chromium.org>
Gerrit-Comment-Date: Wed, 17 Dec 2025 15:35:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

AI Code Reviewer (Gerrit)

unread,
Dec 17, 2025, 10:38:59 AM (2 days ago) Dec 17
to Avi Drissman, Kenneth Russell, Mike West, Corentin Wallez, Francois Pierre Doray, Jean-Philippe Gravel, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org
Attention needed from Corentin Wallez, Francois Pierre Doray, Jean-Philippe Gravel, Kenneth Russell and Mike West

AI Code Reviewer added 1 comment

File third_party/blink/renderer/platform/graphics/gpu/drawing_buffer.cc
Line 1238, Patchset 3 (Latest): base::ByteSizeDelta(4 * size_.width() * size_.height());
AI Code Reviewer . unresolved

nit: Consistency: Use 'base::ByteSize' instead of 'base::ByteSizeDelta' to represent the size of the depth/stencil buffer. This maintains consistency with other buffer size calculations in this method (e.g., line 1233) and semantically represents a size rather than a difference.

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

Open in Gerrit

Related details

Attention is currently required from:
  • Corentin Wallez
  • Francois Pierre Doray
  • Jean-Philippe Gravel
  • Kenneth Russell
  • Mike West
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • 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: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
    Gerrit-Change-Number: 7266147
    Gerrit-PatchSet: 3
    Gerrit-Owner: Avi Drissman <a...@chromium.org>
    Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
    Gerrit-Reviewer: Corentin Wallez <cwa...@chromium.org>
    Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
    Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-Attention: Kenneth Russell <k...@chromium.org>
    Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
    Gerrit-Attention: Mike West <mk...@chromium.org>
    Gerrit-Attention: Corentin Wallez <cwa...@chromium.org>
    Gerrit-Attention: Francois Pierre Doray <fdo...@chromium.org>
    Gerrit-Comment-Date: Wed, 17 Dec 2025 15:38:55 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Francois Pierre Doray (Gerrit)

    unread,
    Dec 17, 2025, 10:49:59 AM (2 days ago) Dec 17
    to Avi Drissman, AI Code Reviewer, Kenneth Russell, Mike West, Corentin Wallez, Jean-Philippe Gravel, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org
    Attention needed from Avi Drissman, Corentin Wallez, Jean-Philippe Gravel, Kenneth Russell and Mike West

    Francois Pierre Doray added 1 comment

    File third_party/blink/renderer/platform/graphics/gpu/drawing_buffer.cc
    Line 1238, Patchset 3 (Latest): base::ByteSizeDelta(4 * size_.width() * size_.height());
    Francois Pierre Doray . unresolved

    Switch to `base::ByteSize(base::checked_cast<uint64_t>(4 * size_.width() * size_.height()))`.

    Reason: This represents an absolute quantity of bytes, not a delta. It just happens to be computed from signed numbers that we expect to be non-negative. If we wanted this to be less verbose, we could introduce `base::ByteSize::FromNonNegativeSigned`, which would CHECK that its signed argument isn't negative.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Avi Drissman
    • Corentin Wallez
    Gerrit-Attention: Avi Drissman <a...@chromium.org>
    Gerrit-Attention: Corentin Wallez <cwa...@chromium.org>
    Gerrit-Comment-Date: Wed, 17 Dec 2025 15:49:52 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Corentin Wallez (Gerrit)

    unread,
    Dec 17, 2025, 10:55:15 AM (2 days ago) Dec 17
    to Avi Drissman, AI Code Reviewer, Kenneth Russell, Mike West, Francois Pierre Doray, Jean-Philippe Gravel, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org
    Attention needed from Avi Drissman, Jean-Philippe Gravel, Kenneth Russell and Mike West

    Corentin Wallez voted and added 1 comment

    Votes added by Corentin Wallez

    Code-Review+1

    1 comment

    Patchset-level comments
    Corentin Wallez . resolved

    LGTM

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Avi Drissman
    • Jean-Philippe Gravel
    • Kenneth Russell
    • Mike West
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not 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: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
        Gerrit-Change-Number: 7266147
        Gerrit-PatchSet: 3
        Gerrit-Owner: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Corentin Wallez <cwa...@chromium.org>
        Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
        Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
        Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
        Gerrit-Reviewer: Mike West <mk...@chromium.org>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-Attention: Kenneth Russell <k...@chromium.org>
        Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
        Gerrit-Attention: Mike West <mk...@chromium.org>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Comment-Date: Wed, 17 Dec 2025 15:54:57 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Avi Drissman (Gerrit)

        unread,
        Dec 17, 2025, 11:05:28 AM (2 days ago) Dec 17
        to Avi Drissman, Corentin Wallez, AI Code Reviewer, Kenneth Russell, Mike West, Francois Pierre Doray, Jean-Philippe Gravel, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org
        Attention needed from Francois Pierre Doray, Jean-Philippe Gravel, Kenneth Russell and Mike West

        Avi Drissman added 2 comments

        File third_party/blink/renderer/platform/graphics/gpu/drawing_buffer.cc
        Line 1238, Patchset 3: base::ByteSizeDelta(4 * size_.width() * size_.height());
        AI Code Reviewer . resolved

        nit: Consistency: Use 'base::ByteSize' instead of 'base::ByteSizeDelta' to represent the size of the depth/stencil buffer. This maintains consistency with other buffer size calculations in this method (e.g., line 1233) and semantically represents a size rather than a difference.

        To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
        **Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


        _This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
        _AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
        _[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

        Avi Drissman

        Done

        Line 1238, Patchset 3: base::ByteSizeDelta(4 * size_.width() * size_.height());
        Francois Pierre Doray . resolved

        Switch to `base::ByteSize(base::checked_cast<uint64_t>(4 * size_.width() * size_.height()))`.

        Reason: This represents an absolute quantity of bytes, not a delta. It just happens to be computed from signed numbers that we expect to be non-negative. If we wanted this to be less verbose, we could introduce `base::ByteSize::FromNonNegativeSigned`, which would CHECK that its signed argument isn't negative.

        Avi Drissman

        Done. We probably should change rect to have unsigned size.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Francois Pierre Doray
        • Jean-Philippe Gravel
        • Kenneth Russell
        • Mike West
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not 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: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
            Gerrit-Change-Number: 7266147
            Gerrit-PatchSet: 4
            Gerrit-Owner: Avi Drissman <a...@chromium.org>
            Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
            Gerrit-Reviewer: Corentin Wallez <cwa...@chromium.org>
            Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
            Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
            Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
            Gerrit-Reviewer: Mike West <mk...@chromium.org>
            Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
            Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
            Gerrit-CC: Stephen Chenney <sche...@chromium.org>
            Gerrit-Attention: Kenneth Russell <k...@chromium.org>
            Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
            Gerrit-Attention: Mike West <mk...@chromium.org>
            Gerrit-Attention: Francois Pierre Doray <fdo...@chromium.org>
            Gerrit-Comment-Date: Wed, 17 Dec 2025 16:05:19 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
            Comment-In-Reply-To: Francois Pierre Doray <fdo...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Mike West (Gerrit)

            unread,
            Dec 17, 2025, 11:12:22 AM (2 days ago) Dec 17
            to Avi Drissman, Corentin Wallez, AI Code Reviewer, Kenneth Russell, Francois Pierre Doray, Jean-Philippe Gravel, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org
            Attention needed from Francois Pierre Doray, Jean-Philippe Gravel and Kenneth Russell

            Mike West added 3 comments

            Patchset-level comments
            File-level comment, Patchset 4 (Latest):
            Mike West . resolved

            Mostly looks good. One question below:

            File third_party/blink/renderer/controller/performance_manager/v8_detailed_memory_reporter_impl.cc
            Line 12, Patchset 4 (Latest):#include "base/byte_size.h"
            Mike West . unresolved

            IWYU nit: We're still using `ByteCount` below, so we should still include the `byte_count.h` header. I'm not actually sure `base/byte_size.h` is necessary in this file?

            Line 198, Patchset 4 (Latest): base::ByteCount memory_used(entry.key->GetMemoryUsage().InBytes());
            Mike West . unresolved

            I'm not sure I understand this change. Why convert the `base::ByteCount` to an `int64_t` and then use that to construct a `base::ByteCount`?

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Francois Pierre Doray
            • Jean-Philippe Gravel
            • Kenneth Russell
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement is not 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: chromium/src
              Gerrit-Branch: main
              Gerrit-Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
              Gerrit-Change-Number: 7266147
              Gerrit-PatchSet: 4
              Gerrit-Owner: Avi Drissman <a...@chromium.org>
              Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
              Gerrit-Reviewer: Corentin Wallez <cwa...@chromium.org>
              Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
              Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
              Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
              Gerrit-Reviewer: Mike West <mk...@chromium.org>
              Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
              Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
              Gerrit-CC: Stephen Chenney <sche...@chromium.org>
              Gerrit-Attention: Kenneth Russell <k...@chromium.org>
              Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
              Gerrit-Attention: Francois Pierre Doray <fdo...@chromium.org>
              Gerrit-Comment-Date: Wed, 17 Dec 2025 16:12:08 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Avi Drissman (Gerrit)

              unread,
              Dec 17, 2025, 12:20:07 PM (2 days ago) Dec 17
              to Avi Drissman, Corentin Wallez, AI Code Reviewer, Kenneth Russell, Mike West, Francois Pierre Doray, Jean-Philippe Gravel, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org
              Attention needed from Francois Pierre Doray, Jean-Philippe Gravel, Kenneth Russell and Mike West

              Avi Drissman added 2 comments

              File third_party/blink/renderer/controller/performance_manager/v8_detailed_memory_reporter_impl.cc
              Line 12, Patchset 4:#include "base/byte_size.h"
              Mike West . resolved

              IWYU nit: We're still using `ByteCount` below, so we should still include the `byte_count.h` header. I'm not actually sure `base/byte_size.h` is necessary in this file?

              Avi Drissman

              Marked as resolved.

              Line 198, Patchset 4: base::ByteCount memory_used(entry.key->GetMemoryUsage().InBytes());
              Mike West . resolved

              I'm not sure I understand this change. Why convert the `base::ByteCount` to an `int64_t` and then use that to construct a `base::ByteCount`?

              Avi Drissman

              We’re switching from the new type to the old type. I missed that there’s a conversion function; using that instead.

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Francois Pierre Doray
              • Jean-Philippe Gravel
              • Kenneth Russell
              • Mike West
              Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement is not 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: chromium/src
                Gerrit-Branch: main
                Gerrit-Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
                Gerrit-Change-Number: 7266147
                Gerrit-PatchSet: 5
                Gerrit-Owner: Avi Drissman <a...@chromium.org>
                Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
                Gerrit-Reviewer: Corentin Wallez <cwa...@chromium.org>
                Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
                Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
                Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
                Gerrit-Reviewer: Mike West <mk...@chromium.org>
                Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
                Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                Gerrit-Attention: Kenneth Russell <k...@chromium.org>
                Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
                Gerrit-Attention: Mike West <mk...@chromium.org>
                Gerrit-Attention: Francois Pierre Doray <fdo...@chromium.org>
                Gerrit-Comment-Date: Wed, 17 Dec 2025 17:19:59 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                Comment-In-Reply-To: Mike West <mk...@chromium.org>
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Francois Pierre Doray (Gerrit)

                unread,
                Dec 17, 2025, 2:56:40 PM (2 days ago) Dec 17
                to Avi Drissman, Corentin Wallez, AI Code Reviewer, Kenneth Russell, Mike West, Jean-Philippe Gravel, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org
                Attention needed from Avi Drissman, Jean-Philippe Gravel, Kenneth Russell and Mike West

                Francois Pierre Doray voted Code-Review+1

                Code-Review+1
                Open in Gerrit

                Related details

                Attention is currently required from:
                • Avi Drissman
                Gerrit-Attention: Avi Drissman <a...@chromium.org>
                Gerrit-Comment-Date: Wed, 17 Dec 2025 19:56:33 +0000
                Gerrit-HasComments: No
                Gerrit-Has-Labels: Yes
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Jean-Philippe Gravel (Gerrit)

                unread,
                Dec 17, 2025, 5:32:51 PM (2 days ago) Dec 17
                to Avi Drissman, Francois Pierre Doray, Corentin Wallez, AI Code Reviewer, Kenneth Russell, Mike West, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org
                Attention needed from Avi Drissman, Kenneth Russell and Mike West

                Jean-Philippe Gravel voted Code-Review+1

                Code-Review+1
                Open in Gerrit

                Related details

                Attention is currently required from:
                • Avi Drissman
                • Kenneth Russell
                • Mike West
                Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement is not 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: chromium/src
                Gerrit-Branch: main
                Gerrit-Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
                Gerrit-Change-Number: 7266147
                Gerrit-PatchSet: 6
                Gerrit-Owner: Avi Drissman <a...@chromium.org>
                Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
                Gerrit-Reviewer: Corentin Wallez <cwa...@chromium.org>
                Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
                Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
                Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
                Gerrit-Reviewer: Mike West <mk...@chromium.org>
                Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
                Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                Gerrit-Attention: Kenneth Russell <k...@chromium.org>
                Gerrit-Attention: Mike West <mk...@chromium.org>
                Gerrit-Attention: Avi Drissman <a...@chromium.org>
                Gerrit-Comment-Date: Wed, 17 Dec 2025 22:32:42 +0000
                Gerrit-HasComments: No
                Gerrit-Has-Labels: Yes
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Avi Drissman (Gerrit)

                unread,
                Dec 17, 2025, 8:12:12 PM (2 days ago) Dec 17
                to Avi Drissman, Jean-Philippe Gravel, Francois Pierre Doray, Corentin Wallez, AI Code Reviewer, Mike West, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org
                Attention needed from Mike West

                Avi Drissman added 1 comment

                Patchset-level comments
                File-level comment, Patchset 6 (Latest):
                Avi Drissman . resolved

                I think kbr is redundant as an owner so removing.

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Mike West
                Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement is not 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: chromium/src
                Gerrit-Branch: main
                Gerrit-Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
                Gerrit-Change-Number: 7266147
                Gerrit-PatchSet: 6
                Gerrit-Owner: Avi Drissman <a...@chromium.org>
                Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
                Gerrit-Reviewer: Corentin Wallez <cwa...@chromium.org>
                Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
                Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
                Gerrit-Reviewer: Mike West <mk...@chromium.org>
                Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
                Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                Gerrit-Attention: Mike West <mk...@chromium.org>
                Gerrit-Comment-Date: Thu, 18 Dec 2025 01:12:03 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Mike West (Gerrit)

                unread,
                Dec 18, 2025, 1:45:30 AM (yesterday) Dec 18
                to Avi Drissman, Jean-Philippe Gravel, Francois Pierre Doray, Corentin Wallez, AI Code Reviewer, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org
                Attention needed from Avi Drissman

                Mike West voted and added 2 comments

                Votes added by Mike West

                Code-Review+1

                2 comments

                Patchset-level comments
                Mike West . resolved

                LGTM % nit. Thanks!

                File third_party/blink/renderer/controller/performance_manager/v8_detailed_memory_reporter_impl.cc
                Line 12, Patchset 4:#include "base/byte_size.h"
                Mike West . unresolved

                IWYU nit: We're still using `ByteCount` below, so we should still include the `byte_count.h` header. I'm not actually sure `base/byte_size.h` is necessary in this file?

                Avi Drissman

                Marked as resolved.

                Mike West

                Unfortunately, you're now using `base::ByteSize` below, so I think we need the new header... :)

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Avi Drissman
                Submit Requirements:
                • requirement satisfiedCode-Coverage
                • 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: chromium/src
                Gerrit-Branch: main
                Gerrit-Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
                Gerrit-Change-Number: 7266147
                Gerrit-PatchSet: 6
                Gerrit-Owner: Avi Drissman <a...@chromium.org>
                Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
                Gerrit-Reviewer: Corentin Wallez <cwa...@chromium.org>
                Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
                Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
                Gerrit-Reviewer: Mike West <mk...@chromium.org>
                Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
                Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                Gerrit-Attention: Avi Drissman <a...@chromium.org>
                Gerrit-Comment-Date: Thu, 18 Dec 2025 06:45:09 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: Yes
                Comment-In-Reply-To: Mike West <mk...@chromium.org>
                Comment-In-Reply-To: Avi Drissman <a...@chromium.org>
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Avi Drissman (Gerrit)

                unread,
                Dec 18, 2025, 9:36:28 AM (22 hours ago) Dec 18
                to Avi Drissman, Mike West, Jean-Philippe Gravel, Francois Pierre Doray, Corentin Wallez, AI Code Reviewer, Chromium LUCI CQ, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org

                Avi Drissman voted and added 1 comment

                Votes added by Avi Drissman

                Commit-Queue+2

                1 comment

                File third_party/blink/renderer/controller/performance_manager/v8_detailed_memory_reporter_impl.cc
                Line 12, Patchset 4:#include "base/byte_size.h"
                Mike West . resolved

                IWYU nit: We're still using `ByteCount` below, so we should still include the `byte_count.h` header. I'm not actually sure `base/byte_size.h` is necessary in this file?

                Avi Drissman

                Marked as resolved.

                Mike West

                Unfortunately, you're now using `base::ByteSize` below, so I think we need the new header... :)

                Avi Drissman

                Done

                Open in Gerrit

                Related details

                Attention set is empty
                Submit Requirements:
                  • requirement satisfiedCode-Coverage
                  • 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: chromium/src
                  Gerrit-Branch: main
                  Gerrit-Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
                  Gerrit-Change-Number: 7266147
                  Gerrit-PatchSet: 7
                  Gerrit-Owner: Avi Drissman <a...@chromium.org>
                  Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
                  Gerrit-Reviewer: Corentin Wallez <cwa...@chromium.org>
                  Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
                  Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
                  Gerrit-Reviewer: Mike West <mk...@chromium.org>
                  Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
                  Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                  Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                  Gerrit-Comment-Date: Thu, 18 Dec 2025 14:36:19 +0000
                  satisfied_requirement
                  open
                  diffy

                  Chromium LUCI CQ (Gerrit)

                  unread,
                  Dec 18, 2025, 11:10:16 AM (20 hours ago) Dec 18
                  to Avi Drissman, Mike West, Jean-Philippe Gravel, Francois Pierre Doray, Corentin Wallez, AI Code Reviewer, chromium...@chromium.org, Dirk Schulze, Stephen Chenney, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, fserb...@chromium.org, kinuko...@chromium.org

                  Chromium LUCI CQ submitted the change with unreviewed changes

                  Unreviewed changes

                  6 is the latest approved patch-set.
                  The change was submitted with unreviewed changes in the following files:

                  ```
                  The name of the file: third_party/blink/renderer/controller/performance_manager/v8_detailed_memory_reporter_impl.cc
                  Insertions: 1, Deletions: 1.

                  @@ -9,7 +9,7 @@
                  #include <utility>
                  #include <vector>

                  -#include "base/byte_count.h"
                  +#include "base/byte_size.h"
                  #include "base/check.h"
                  #include "base/functional/callback.h"
                  #include "base/memory/raw_ptr.h"
                  ```

                  Change information

                  Commit message:
                  Move Blink images to use ByteSize rather than ByteCount
                  Bug: 448661443
                  Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
                  Reviewed-by: Francois Pierre Doray <fdo...@chromium.org>
                  Reviewed-by: Mike West <mk...@chromium.org>
                  Commit-Queue: Avi Drissman <a...@chromium.org>
                  Reviewed-by: Jean-Philippe Gravel <jpgr...@chromium.org>
                  Reviewed-by: Corentin Wallez <cwa...@chromium.org>
                  Cr-Commit-Position: refs/heads/main@{#1560576}
                  Files:
                  • M gpu/command_buffer/client/client_shared_image.h
                  • M third_party/blink/DEPS
                  • M third_party/blink/renderer/controller/performance_manager/v8_detailed_memory_reporter_impl.cc
                  • M third_party/blink/renderer/core/html/canvas/canvas_rendering_context.cc
                  • M third_party/blink/renderer/core/html/canvas/canvas_rendering_context.h
                  • M third_party/blink/renderer/core/html/canvas/canvas_rendering_context_host.cc
                  • M third_party/blink/renderer/core/html/canvas/canvas_rendering_context_host.h
                  • M third_party/blink/renderer/core/html/canvas/html_canvas_element_test.cc
                  • M third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.h
                  • M third_party/blink/renderer/modules/canvas/imagebitmap/image_bitmap_rendering_context.cc
                  • M third_party/blink/renderer/modules/canvas/imagebitmap/image_bitmap_rendering_context.h
                  • M third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc
                  • M third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.h
                  • M third_party/blink/renderer/platform/graphics/canvas_resource.h
                  • M third_party/blink/renderer/platform/graphics/canvas_resource_provider.cc
                  • M third_party/blink/renderer/platform/graphics/canvas_resource_provider.h
                  • M third_party/blink/renderer/platform/graphics/gpu/drawing_buffer.cc
                  • M third_party/blink/renderer/platform/graphics/gpu/drawing_buffer.h
                  • M third_party/blink/renderer/platform/graphics/static_bitmap_image.h
                  Change size: M
                  Delta: 19 files changed, 58 insertions(+), 51 deletions(-)
                  Branch: refs/heads/main
                  Submit Requirements:
                  • requirement satisfiedCode-Review: +1 by Francois Pierre Doray, +1 by Mike West, +1 by Corentin Wallez, +1 by Jean-Philippe Gravel
                  Open in Gerrit
                  Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                  Gerrit-MessageType: merged
                  Gerrit-Project: chromium/src
                  Gerrit-Branch: main
                  Gerrit-Change-Id: I3ed6686fb53123dd85efdd1e5e621c72d8f956cd
                  Gerrit-Change-Number: 7266147
                  Gerrit-PatchSet: 8
                  Gerrit-Owner: Avi Drissman <a...@chromium.org>
                  Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
                  Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
                  Gerrit-Reviewer: Corentin Wallez <cwa...@chromium.org>
                  Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
                  Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
                  Gerrit-Reviewer: Mike West <mk...@chromium.org>
                  Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
                  open
                  diffy
                  satisfied_requirement
                  Reply all
                  Reply to author
                  Forward
                  0 new messages