From 96c2e8ec18feb0766c22acfb481a59f0983c572a Mon Sep 17 00:00:00 2001 From: "pkasting@chromium.org" Date: Wed, 23 Sep 2009 20:54:48 +0000 Subject: Reverting 26975. Review URL: http://codereview.chromium.org/222011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26979 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/gtk/custom_button.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/gtk/custom_button.cc') diff --git a/chrome/browser/gtk/custom_button.cc b/chrome/browser/gtk/custom_button.cc index 3e4e1cf..745f495 100644 --- a/chrome/browser/gtk/custom_button.cc +++ b/chrome/browser/gtk/custom_button.cc @@ -4,7 +4,6 @@ #include "chrome/browser/gtk/custom_button.h" -#include "app/gfx/skbitmap_operations.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "app/theme_provider.h" @@ -16,6 +15,7 @@ #include "chrome/common/gtk_util.h" #include "chrome/common/notification_service.h" #include "grit/theme_resources.h" +#include "skia/ext/image_operations.h" CustomDrawButtonBase::CustomDrawButtonBase(GtkThemeProvider* theme_provider, int normal_id, int active_id, int highlight_id, int depressed_id) @@ -104,8 +104,8 @@ void CustomDrawButtonBase::SetBackground(SkColor color, background_image_->UsePixbuf(NULL); } } else { - SkBitmap img = - SkBitmapOperations::CreateButtonBackground(color, *image, *mask); + SkBitmap img = skia::ImageOperations::CreateButtonBackground(color, + *image, *mask); GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&img); background_image_->UsePixbuf(pixbuf); -- cgit v1.1