fix: change #if defined(OS_MACOSX) to #if defined(OS_MAC) (#28102)
This commit is contained in:
parent
74e7f98572
commit
6c90411e21
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue