dsanders11

#52710: chore: use base::SysNSStringToUTF8 in more places

Merged
Created: Aug 7, 2026, 8:12:08 PM
Merged: Aug 8, 2026, 5:41:43 PM
4 comments
Target: main

Description of Change

These were flagged by the clang-analyzer-nullability.NullablePassedToNonnull check in clang-tidy, and the use of [NSString UTF8String] is explicitly banned in upstream Chromium, so this aligns us with upstream best practices.

Checklist

Release Notes

Notes: none

Backports

42-x-y
Pending
Waiting for a manual backport
43-x-y
Pending
Waiting for a manual backport
44-x-y
Pending
Waiting for a manual backport

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron