Chromium Code Reviews| Index: chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc |
| diff --git a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc |
| index 80d6c1353d72cbc9eb23258f66b054f66d67b0bd..56a79881e0ca6e7b905634a3e26e85e9ea579d2c 100644 |
| --- a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc |
| +++ b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc |
| @@ -98,7 +98,8 @@ void TabAutofillManagerDelegate::SetSyncStateChangedCallback( |
| } |
| void TabAutofillManagerDelegate::OnAutocheckoutError() { |
| - dialog_controller_->OnAutocheckoutError(); |
| + if (dialog_controller_) |
|
ahutter
2013/04/10 20:00:59
Is this change necessary? Ideally this method won'
benquan
2013/04/10 20:12:59
Yes, it is called from AutocheckoutManager::OnLoad
ahutter
2013/04/10 20:29:01
If it's called and |dialog_controller_| is NULL th
benquan
2013/04/11 02:17:56
When we navigated to a page with different domain,
|
| + dialog_controller_->OnAutocheckoutError(); |
| } |
| void TabAutofillManagerDelegate::ShowAutofillSettings() { |