Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't unnecessarily copy draggable regions (#21723)
In some calls to `BrowserWindow::UpdateDraggableRegions` the parameter `regions` points to object's variable `draggable_regions_` which we later try to update with data received in the parameter. In these cases coping is unnecessary. Additionally after this code is executed `draggable_regions_` would be empty and as a result whole window would be undraggable. Co-authored-by: CezaryKulakowski <50166166+CezaryKulakowski@users.noreply.github.com>
- Loading branch information