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

refactor: pass gfx::ResizeEdge by value

It is an enum class, so no reason to pass by reference
This commit is contained in:
Charles Kerr
2025-05-06 11:57:53 -05:00
committed by GitHub
parent 206544cbc0
commit 8308ac29c8
7 changed files with 7 additions and 7 deletions

View File

@@ -602,7 +602,7 @@ void NativeWindow::NotifyWindowRestore() {
}
void NativeWindow::NotifyWindowWillResize(const gfx::Rect& new_bounds,
const gfx::ResizeEdge& edge,
const gfx::ResizeEdge edge,
bool* prevent_default) {
observers_.Notify(&NativeWindowObserver::OnWindowWillResize, new_bounds, edge,
prevent_default);