Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
index 3e06ab6629d4c5748d5159b456619ab96e2d2dfe..33d6d9168c87b6b41189ee99b7aca5183724ca86 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
@@ -1403,7 +1403,8 @@ bool AutofillDialogViews::SaveDetailsLocally() { |
return save_in_chrome_checkbox_->checked(); |
} |
-const content::NavigationController* AutofillDialogViews::ShowSignIn() { |
+const content::NavigationController* AutofillDialogViews::ShowSignIn( |
+ const GURL& url) { |
// The initial minimum width and height are set such that the dialog |
// won't change size before the page is loaded. |
int min_width = GetContentsBounds().width(); |
@@ -1418,7 +1419,7 @@ const content::NavigationController* AutofillDialogViews::ShowSignIn() { |
sign_in_web_view_->GetWebContents(), |
delegate_->GetWebContents(), |
gfx::Size(min_width, min_height), GetMaximumSignInViewSize())); |
- sign_in_web_view_->LoadInitialURL(delegate_->SignInUrl()); |
+ sign_in_web_view_->LoadInitialURL(url); |
ShowDialogInMode(SIGN_IN); |