From 6c90411e2143dc85da5be23ef903b41dab9ba0ab Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Fri, 12 Mar 2021 06:07:21 +0100 Subject: [PATCH] fix: change #if defined(OS_MACOSX) to #if defined(OS_MAC) (#28102) --- shell/browser/api/electron_api_browser_window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }