| Index: chrome/browser/ui/webui/options/advanced_options_handler.cc
|
| ===================================================================
|
| --- chrome/browser/ui/webui/options/advanced_options_handler.cc (revision 79409)
|
| +++ chrome/browser/ui/webui/options/advanced_options_handler.cc (working copy)
|
| @@ -59,6 +59,10 @@
|
| }
|
|
|
| AdvancedOptionsHandler::~AdvancedOptionsHandler() {
|
| + // There may be pending file dialogs, we need to tell them that we've gone
|
| + // away so they don't try and call back to us.
|
| + if (select_folder_dialog_.get())
|
| + select_folder_dialog_->ListenerDestroyed();
|
| }
|
|
|
| void AdvancedOptionsHandler::GetLocalizedValues(
|
|
|