| Index: chrome/browser/ui/gtk/infobars/link_infobar_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/infobars/link_infobar_gtk.cc (revision 102206)
|
| +++ chrome/browser/ui/gtk/infobars/link_infobar_gtk.cc (working copy)
|
| @@ -29,6 +29,8 @@
|
| }
|
|
|
| void LinkInfoBarGtk::OnLinkClicked(GtkWidget* button) {
|
| + if (!owned())
|
| + return; // We're closing; don't call anything, it might access the owner.
|
| if (GetDelegate()->LinkClicked(
|
| gtk_util::DispositionForCurrentButtonPressEvent()))
|
| RemoveSelf();
|
|
|