| Index: chrome/browser/ui/gtk/zoom_bubble_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/zoom_bubble_gtk.cc b/chrome/browser/ui/gtk/zoom_bubble_gtk.cc
|
| index a6362d5ee2615a441d4ed8c1efe7da873b8492f6..ba246b815b78da0c8a82088b48b2553b0a2161c7 100644
|
| --- a/chrome/browser/ui/gtk/zoom_bubble_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/zoom_bubble_gtk.cc
|
| @@ -48,8 +48,8 @@ void ZoomBubbleGtk::Show(GtkWidget* anchor,
|
| // If the bubble is already showing but its |auto_close_| value is not equal
|
| // to |auto_close|, the bubble's focus properties must change, so the
|
| // current bubble must be closed and a new one created.
|
| - if (g_bubble)
|
| - g_bubble->Close();
|
| + Close();
|
| + DCHECK(!g_bubble);
|
|
|
| g_bubble = new ZoomBubbleGtk(anchor, tab_contents, auto_close);
|
| }
|
|
|