Chromium Code Reviews| Index: chrome/browser/ui/media_stream_infobar_delegate.cc |
| diff --git a/chrome/browser/ui/media_stream_infobar_delegate.cc b/chrome/browser/ui/media_stream_infobar_delegate.cc |
| index ef7bab4ee6b854efde589e32308f3c8a3093c800..56ab12fc09f25818725af485b330e21d6ee9eeed 100644 |
| --- a/chrome/browser/ui/media_stream_infobar_delegate.cc |
| +++ b/chrome/browser/ui/media_stream_infobar_delegate.cc |
| @@ -110,14 +110,14 @@ void MediaStreamInfoBarDelegate::AddDeviceWithId( |
| // MediaStreamInfoBarDelegate::CreateInfoBar is implemented in platform-specific |
| // files. |
| -#if !defined(TOOLKIT_VIEWS) |
| +#if defined(OS_MAC) |
|
Nico
2012/03/17 19:57:20
Hi,
it's OS_MACOSX, not OS_MAC. As is, this code
|
| // TODO(macourteau): This section is temporary, until the InfoBar is implemented |
| -// on other platforms, to make sure everything compiles and links. |
| +// on MacOS, to make sure everything compiles and links. |
| InfoBar* MediaStreamInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) { |
| DCHECK(owner); |
| return NULL; |
| } |
| -#endif // !TOOLKIT_VIEWS |
| +#endif // OS_MAC |
| void MediaStreamInfoBarDelegate::InfoBarDismissed() { |
| // Deny the request if the infobar was closed with the 'x' button, since |