Fix non-draggable regions on macOS (#12327)

This was a regression in 503b0ba1.
This commit is contained in:
Birunthan Mohanathas 2018-03-16 23:49:11 +02:00 committed by Samuel Attard
parent 558ef7352d
commit 6f6f388f38

View file

@ -85,7 +85,7 @@ void BrowserWindow::UpdateDraggableRegions(
system_drag_exclude_areas.push_back(
gfx::Rect(0, 0, webViewWidth, webViewHeight));
} else {
CalculateNonDraggableRegions(
system_drag_exclude_areas = CalculateNonDraggableRegions(
DraggableRegionsToSkRegion(regions), webViewWidth, webViewHeight);
}