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, 2 insertions, 3 deletions
diff --git a/chrome/browser/translate/translate_infobar_delegate2.cc b/chrome/browser/translate/translate_infobar_delegate2.cc
index bc11024..d773542 100644
--- a/chrome/browser/translate/translate_infobar_delegate2.cc
+++ b/chrome/browser/translate/translate_infobar_delegate2.cc
@@ -300,9 +300,8 @@ void TranslateInfoBarDelegate2::GetAfterTranslateStrings(
strings->push_back(text.substr(offsets[1]));
}
-#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.
+#if !defined(OS_WIN) && !defined(OS_LINUX)
+// Necessary so we link OK on Mac until Mac uses the new delegate as well.
InfoBar* TranslateInfoBarDelegate2::CreateInfoBar() {
return NULL;
}