summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_tab_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/browser_tab_contents.cc')
-rw-r--r--chrome/browser/ui/browser_tab_contents.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/ui/browser_tab_contents.cc b/chrome/browser/ui/browser_tab_contents.cc
index c4fe56c..fdcaa16 100644
--- a/chrome/browser/ui/browser_tab_contents.cc
+++ b/chrome/browser/ui/browser_tab_contents.cc
@@ -172,8 +172,10 @@ void BrowserTabContents::AttachTabHelpers(WebContents* web_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(
- web_contents, OneClickSigninHelper::CAN_OFFER_FOR_ALL, "", NULL)) {
+ if (OneClickSigninHelper::CanOffer(web_contents,
+ OneClickSigninHelper::CAN_OFFER_FOR_ALL,
+ std::string(),
+ NULL)) {
OneClickSigninHelper::CreateForWebContents(web_contents);
}
#endif