diff --git a/shell/browser/api/electron_api_browser_window.cc b/shell/browser/api/electron_api_browser_window.cc index 8d94fc680f2d..1ba361cbc379 100644 --- a/shell/browser/api/electron_api_browser_window.cc +++ b/shell/browser/api/electron_api_browser_window.cc @@ -372,7 +372,7 @@ void BrowserWindow::RemoveBrowserView(v8::Local value) { void BrowserWindow::SetTopBrowserView(v8::Local value, gin_helper::Arguments* args) { BaseWindow::SetTopBrowserView(value, args); -#if defined(OS_MACOSX) +#if defined(OS_MAC) UpdateDraggableRegions(draggable_regions_); #endif }