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

Unified Diff: chrome/browser/ui/gtk/custom_button.cc

Issue 10377122: Convert GdkPixbufFromSkBitmap and GdkPixbufToSkBitmap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/custom_button.cc
diff --git a/chrome/browser/ui/gtk/custom_button.cc b/chrome/browser/ui/gtk/custom_button.cc
index 92167d399a3083bb91f27292c70ef1b5f6af6fd3..b4b8fb20545c5297586ce28b0775d06ff360dc93 100644
--- a/chrome/browser/ui/gtk/custom_button.cc
+++ b/chrome/browser/ui/gtk/custom_button.cc
@@ -148,7 +148,7 @@ void CustomDrawButtonBase::SetBackground(SkColor color,
SkBitmap img =
SkBitmapOperations::CreateButtonBackground(color, *image, *mask);
- GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&img);
+ GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(img);
background_image_->UsePixbuf(pixbuf);
g_object_unref(pixbuf);
}
« no previous file with comments | « chrome/browser/ui/gtk/content_setting_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698