ckerr

#46935: refactor: pass gfx::ResizeEdge by value

Merged
Created: May 5, 2025, 12:06:07 PM
Merged: May 6, 2025, 12:57:54 PM
4 comments
Target: main

Description of Change

Small cleanup to pass gfx::ResizeEdge by value. It's an enum class, so it's simpler to pass it by value than by reference.

Checklist

Release Notes

Notes: none.

Backports

35-x-y
Merged
PR Number
#46961
Merged At
May 6, 2025, 3:11:03 PM
Released In
v35.3.0
Release Date
May 7, 2025, 12:02:45 PM
36-x-y
Merged
PR Number
#46962
Merged At
May 6, 2025, 3:37:36 PM
Released In
v36.2.0
Release Date
May 7, 2025, 12:02:14 PM
37-x-y
Merged
PR Number
#46960
Merged At
May 6, 2025, 5:08:58 PM
Released In
Not yet
Release Date
Not yet

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