ifdef out a bunch of Mac-specific code
This is a hacky solution but helps us deal with other compiler/linker errors.
This commit is contained in:
parent
12773cff6e
commit
12d01e4fd5
4 changed files with 6 additions and 2 deletions
|
@ -34,8 +34,10 @@ BrowserContext* BrowserClient::browser_context() {
|
|||
}
|
||||
|
||||
NotificationPresenter* BrowserClient::notification_presenter() {
|
||||
#if defined(OS_MACOSX)
|
||||
if (!notification_presenter_)
|
||||
notification_presenter_.reset(NotificationPresenter::Create());
|
||||
#endif
|
||||
return notification_presenter_.get();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue