Index: chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc b/chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc |
index 8bc6809e62201b0af2c041f8ab1a1b32a5b5e4a8..19ac03f223c7bcc21e9841f27ab6e9694efb6560 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc |
+++ b/chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc |
@@ -79,6 +79,8 @@ void AutofillDialogSignInDelegate::UpdateLimitsAndEnableAutoResize( |
} |
void AutofillDialogSignInDelegate::EnableAutoResize() { |
+ DCHECK(!minimum_size_.IsEmpty()); |
+ DCHECK(!maximum_size_.IsEmpty()); |
content::RenderViewHost* host = web_contents()->GetRenderViewHost(); |
if (host) |
host->EnableAutoResize(minimum_size_, maximum_size_); |