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..f562cba21d3bea2d96022e37b1a4d26636d16389 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 // #if defined(OS_ANDROID) |
} |