Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1323)

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.mm

Issue 663643002: requestAutocomplete (desktop): don't get stuck in infinite loop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.mm b/chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.mm
index 0f7bf68b49a19f6349b873513868c216524a74e2..1ab0111e24fbfcd172169e0e7023fe70d41fd76a 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.mm
@@ -403,13 +403,13 @@ const CGFloat kMinimumContentsHeight = 101;
[mainContainer_ validate];
}
-- (content::NavigationController*)showSignIn {
+- (content::NavigationController*)showSignIn:(const GURL&)url {
[self updateSignInSizeConstraints];
// Ensure |signInContainer_| is set to the same size as |mainContainer_|, to
// force its minimum size so that there will not be a resize until the
// contents are loaded.
[[signInContainer_ view] setFrameSize:[[mainContainer_ view] frame].size];
- [signInContainer_ loadSignInPage];
+ [signInContainer_ loadSignInPage:url];
[[signInContainer_ view] setHidden:NO];
[self updateMainContainerVisibility];

Powered by Google App Engine
This is Rietveld 408576698