summaryrefslogtreecommitdiffstats
path: root/chrome/browser/translate/translate_infobar_delegate2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/translate/translate_infobar_delegate2.cc')
-rw-r--r--chrome/browser/translate/translate_infobar_delegate2.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/translate/translate_infobar_delegate2.cc b/chrome/browser/translate/translate_infobar_delegate2.cc
index d773542..bc11024 100644
--- a/chrome/browser/translate/translate_infobar_delegate2.cc
+++ b/chrome/browser/translate/translate_infobar_delegate2.cc
@@ -300,8 +300,9 @@ void TranslateInfoBarDelegate2::GetAfterTranslateStrings(
strings->push_back(text.substr(offsets[1]));
}
-#if !defined(OS_WIN) && !defined(OS_LINUX)
-// Necessary so we link OK on Mac until Mac uses the new delegate as well.
+#if !defined(OS_WIN) && !defined(OS_CHROMEOS)
+// Necessary so we link OK on Mac and Linux while the new translate infobars
+// are being ported to these platforms.
InfoBar* TranslateInfoBarDelegate2::CreateInfoBar() {
return NULL;
}