Migrate usages of base::to_underlying in //third_party/blink [chromium/src : main]

0 views
Skip to first unread message

Chris Harrelson (Gerrit)

unread,
Dec 19, 2025, 11:58:54 AM (4 days ago) Dec 19
to Victor Vianna, Chromium LUCI CQ, chromium...@chromium.org, Nate Chapin, prerendering-reviews, Yoav Weiss (@Shopify), blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, cwalle...@chromium.org, feature-me...@chromium.org, gavinp...@chromium.org, gavinp+p...@chromium.org, kainin...@chromium.org, loading...@chromium.org
Attention needed from Victor Vianna

Chris Harrelson voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Victor Vianna
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: I89b9f5872ae0f44f37624d26ac9ada9d8a4a46ad
Gerrit-Change-Number: 7277685
Gerrit-PatchSet: 1
Gerrit-Owner: Victor Vianna <victor...@google.com>
Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
Gerrit-Reviewer: Victor Vianna <victor...@google.com>
Gerrit-CC: Nate Chapin <jap...@chromium.org>
Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
Gerrit-Attention: Victor Vianna <victor...@google.com>
Gerrit-Comment-Date: Fri, 19 Dec 2025 16:58:41 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Victor Vianna (Gerrit)

unread,
Dec 22, 2025, 11:45:56 AM (18 hours ago) Dec 22
to Chris Harrelson, Chromium LUCI CQ, chromium...@chromium.org, Nate Chapin, prerendering-reviews, Yoav Weiss (@Shopify), blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, cwalle...@chromium.org, feature-me...@chromium.org, gavinp...@chromium.org, gavinp+p...@chromium.org, kainin...@chromium.org, loading...@chromium.org

Victor Vianna voted Commit-Queue+2

Commit-Queue+2
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: I89b9f5872ae0f44f37624d26ac9ada9d8a4a46ad
Gerrit-Change-Number: 7277685
Gerrit-PatchSet: 1
Gerrit-Owner: Victor Vianna <victor...@google.com>
Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
Gerrit-Reviewer: Victor Vianna <victor...@google.com>
Gerrit-CC: Nate Chapin <jap...@chromium.org>
Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
Gerrit-Comment-Date: Mon, 22 Dec 2025 16:45:43 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Dec 22, 2025, 2:03:11 PM (16 hours ago) Dec 22
to Victor Vianna, Chris Harrelson, chromium...@chromium.org, Nate Chapin, prerendering-reviews, Yoav Weiss (@Shopify), blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, cwalle...@chromium.org, feature-me...@chromium.org, gavinp...@chromium.org, gavinp+p...@chromium.org, kainin...@chromium.org, loading...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
Migrate usages of base::to_underlying in //third_party/blink

```
files_using_header="$(git grep -l base::to_underlying | tr '\n' ' ')"
sed -i 's/base::to_underlying/std::to_underlying/g' \
${files_using_header}
tools/add_header.py --header '<utility>' ${files_using_header}
files_including_header="$(git grep -l base/types/cxx23_to_underlying.h | tr '\n' ' ')"
tools/add_header.py --header '"base/types/cxx23_to_underlying.h"' \
--remove ${files_including_header}
git cl format
```

Then some manual fixes.
Bug: 470039537
Change-Id: I89b9f5872ae0f44f37624d26ac9ada9d8a4a46ad
Reviewed-by: Chris Harrelson <chri...@chromium.org>
Commit-Queue: Victor Vianna <victor...@google.com>
Cr-Commit-Position: refs/heads/main@{#1561886}
Files:
  • M third_party/blink/renderer/DEPS
  • M third_party/blink/renderer/core/dom/focusgroup_flags.h
  • M third_party/blink/renderer/core/html/forms/html_button_element.cc
  • M third_party/blink/renderer/core/html/forms/html_button_element.h
  • M third_party/blink/renderer/core/html/forms/input_type.h
  • M third_party/blink/renderer/core/loader/document_loader_auto_speculation_rules_test.cc
  • M third_party/blink/renderer/core/loader/preload_helper.cc
  • M third_party/blink/renderer/core/speculation_rules/auto_speculation_rules_config_test.cc
  • M third_party/blink/renderer/modules/media/audio/audio_renderer_mixer_manager.cc
  • M third_party/blink/renderer/modules/ml/ml_context.cc
  • M third_party/blink/renderer/modules/webgpu/gpu.cc
  • M third_party/blink/tools/blinkpy/presubmit/audit_non_blink_usage.py
Change size: M
Delta: 12 files changed, 65 insertions(+), 63 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Chris Harrelson
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: I89b9f5872ae0f44f37624d26ac9ada9d8a4a46ad
Gerrit-Change-Number: 7277685
Gerrit-PatchSet: 2
Gerrit-Owner: Victor Vianna <victor...@google.com>
Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Victor Vianna <victor...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages