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 a3d5fec3fcad8769de5cbc6568a4385d57ba0ffc..28b4ade1f36d7c0ee4cf19690bbe47b956011278 100644 |
--- a/chrome/browser/ui/gtk/browser_window_gtk.cc |
+++ b/chrome/browser/ui/gtk/browser_window_gtk.cc |
@@ -2075,7 +2075,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_; |