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

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

Issue 10829370: Make search icon in omnibox results hidpi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
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 5aba774fc25da0ae821600e9ee4cb0186bf928e3..856d0c7cf1a4d1da673403d0539c04175cd113bb 100644
--- a/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc
+++ b/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc
@@ -350,7 +350,7 @@ void AutofillPopupViewGtk::DrawAutofillEntry(cairo_t* cairo_context,
gtk_util::DrawFullImage(
cairo_context,
window_,
- delete_icon,
+ *delete_icon,
x_align_left,
entry_rect.y() + ((kRowHeight - kDeleteIconHeight) / 2));
cairo_restore(cairo_context);
@@ -370,7 +370,7 @@ void AutofillPopupViewGtk::DrawAutofillEntry(cairo_t* cairo_context,
cairo_save(cairo_context);
gtk_util::DrawFullImage(cairo_context,
window_,
- theme_service_->GetImageNamed(icon),
+ *theme_service_->GetImageNamed(icon),
x_align_left,
icon_y);
cairo_restore(cairo_context);

Powered by Google App Engine
This is Rietveld 408576698