Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5402)

Unified Diff: chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc

Issue 9359052: GTK: Closing in on being completely GSEALed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/browser_titlebar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/browser_titlebar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698