fix: change #if defined(OS_MACOSX) to #if defined(OS_MAC) (#28102)

This commit is contained in:
Milan Burda 2021-03-12 06:07:21 +01:00 committed by GitHub
parent 74e7f98572
commit 6c90411e21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -372,7 +372,7 @@ void BrowserWindow::RemoveBrowserView(v8::Local<v8::Value> value) {
void BrowserWindow::SetTopBrowserView(v8::Local<v8::Value> value, void BrowserWindow::SetTopBrowserView(v8::Local<v8::Value> value,
gin_helper::Arguments* args) { gin_helper::Arguments* args) {
BaseWindow::SetTopBrowserView(value, args); BaseWindow::SetTopBrowserView(value, args);
#if defined(OS_MACOSX) #if defined(OS_MAC)
UpdateDraggableRegions(draggable_regions_); UpdateDraggableRegions(draggable_regions_);
#endif #endif
} }