| Index: chrome/browser/ui/gtk/html_dialog_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/html_dialog_gtk.cc b/chrome/browser/ui/gtk/html_dialog_gtk.cc
|
| index b7d9a68dace4760ab94d55f9dcc0995feef43cde..43c73a1816a33645eb924c317ed6f1ebb7404482 100644
|
| --- a/chrome/browser/ui/gtk/html_dialog_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/html_dialog_gtk.cc
|
| @@ -119,8 +119,14 @@ void HtmlDialogGtk::OnDialogClosed(const std::string& json_retval) {
|
| if (delegate_) {
|
| HtmlDialogUIDelegate* dialog_delegate = delegate_;
|
| delegate_ = NULL; // We will not communicate further with the delegate.
|
| +
|
| + // Store the dialog bounds.
|
| + gfx::Rect dialog_bounds = gtk_util::GetDialogBounds(GTK_WIDGET(dialog_));
|
| + dialog_delegate->StoreDialogSize(dialog_bounds);
|
| +
|
| dialog_delegate->OnDialogClosed(json_retval);
|
| }
|
| +
|
| gtk_widget_destroy(dialog_);
|
| delete this;
|
| }
|
|
|