| Index: chrome/browser/ui/gtk/browser_window_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc
|
| index ceea959d47c9956d59860992843625cb337f5dd9..a83747f58cae43d5b616ade9a7937bfac6659a52 100644
|
| --- a/chrome/browser/ui/gtk/browser_window_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/browser_window_gtk.cc
|
| @@ -2080,7 +2080,7 @@ gboolean BrowserWindowGtk::OnButtonPressEvent(GtkWidget* widget,
|
|
|
| // Ignore clicks that are in/below the browser toolbar.
|
| GtkWidget* toolbar = toolbar_->widget();
|
| - if (!GTK_WIDGET_VISIBLE(toolbar)) {
|
| + if (!gtk_widget_get_visible(toolbar)) {
|
| // If the toolbar is not showing, use the location of web contents as the
|
| // boundary of where to ignore clicks.
|
| toolbar = render_area_vbox_;
|
|
|