Index: chrome/browser/autofill/autofill_cc_infobar_delegate.cc |
diff --git a/chrome/browser/autofill/autofill_cc_infobar_delegate.cc b/chrome/browser/autofill/autofill_cc_infobar_delegate.cc |
index e633bdb89e8ff5dacd57faf9b571f26131db6e0a..70866226a63f12e4a31d8b5c303d37581cafbd3f 100644 |
--- a/chrome/browser/autofill/autofill_cc_infobar_delegate.cc |
+++ b/chrome/browser/autofill/autofill_cc_infobar_delegate.cc |
@@ -86,8 +86,14 @@ string16 AutofillCCInfoBarDelegate::GetLinkText() const { |
} |
bool AutofillCCInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) { |
+#if defined(OS_ANDROID) |
+ // There's no link for infobars on Android. |
+ NOTREACHED(); |
+ return false; |
+#else |
Browser* browser = BrowserList::GetLastActive(); |
DCHECK(browser); |
browser->OpenAutofillHelpTabAndActivate(); |
return false; |
+#endif |
Ilya Sherman
2012/03/21 21:50:37
nit: Please add " // #if defined(OS_ANDROID)" to
|
} |