Index: chrome/browser/ui/tab_contents/tab_contents.cc |
diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc |
index 06ed203224fed536dc09fedc69de22fda1f422ea..d939ab2163ae007c825b41e08035f3da18aaaf80 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc |
@@ -188,8 +188,10 @@ TabContents::TabContents(WebContents* contents) |
// because the connected state may change while this tab is open. Having a |
// one-click signin helper attached does not cause problems if the profile |
// happens to be already connected. |
- if (OneClickSigninHelper::CanOffer(contents, "", false)) |
- OneClickSigninHelper::CreateForWebContents(contents); |
+ int error_message_id = 0; |
+ if (OneClickSigninHelper::CanOffer(contents, |
Andrew T Wilson (Slow)
2012/12/03 14:54:49
Consider just passing null here for error_message_
Roger Tawa OOO till Jul 10th
2012/12/03 22:26:54
Done.
|
+ OneClickSigninHelper::CAN_OFFER_FOR_ALL, "", &error_message_id)) |
+ OneClickSigninHelper::CreateForWebContents(contents); |
#endif |
#if defined(OS_WIN) |