Index: chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc |
diff --git a/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc b/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc |
index c65d1109275489466536173093b416eaaa5e7ab9..bebb0b835784ac37c4eedcfc40e509fcdfd73318 100644 |
--- a/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc |
+++ b/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc |
@@ -117,7 +117,8 @@ void AutofillPopupViewGtk::HideInternal() { |
void AutofillPopupViewGtk::InvalidateRow(size_t row) { |
GdkRectangle row_rect = GetRectForRow( |
row, bounds_.width(), row_height_).ToGdkRectangle(); |
- gdk_window_invalidate_rect(window_->window, &row_rect, FALSE); |
+ GdkWindow* gdk_window = gtk_widget_get_window(window_); |
+ gdk_window_invalidate_rect(gdk_window, &row_rect, FALSE); |
} |
gboolean AutofillPopupViewGtk::HandleButtonRelease(GtkWidget* widget, |