summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/gtk_theme_provider.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 20:40:52 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 20:40:52 +0000
commit0819b02efb758f7b3f6e5661a18fa7908720cac5 (patch)
tree7e0cce071d63804f06451d08c4a26e747a28ecc2 /chrome/browser/gtk/gtk_theme_provider.cc
parentb5685797f80769c3db0c3c3a1c6bc117b2029b71 (diff)
downloadchromium_src-0819b02efb758f7b3f6e5661a18fa7908720cac5.zip
chromium_src-0819b02efb758f7b3f6e5661a18fa7908720cac5.tar.gz
chromium_src-0819b02efb758f7b3f6e5661a18fa7908720cac5.tar.bz2
Move functions from skia/ext to app/gfx where possible: most of skia_utils.* and image_operations.* can be moved because they are not used by WebKit code.
This also fixes the spelling of "Convolusion" to "Convolution" and updates some copyrights. BUG=none TEST=none Review URL: http://codereview.chromium.org/207059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/gtk_theme_provider.cc')
-rw-r--r--chrome/browser/gtk/gtk_theme_provider.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/gtk_theme_provider.cc b/chrome/browser/gtk/gtk_theme_provider.cc
index 428e58b..2354d1d 100644
--- a/chrome/browser/gtk/gtk_theme_provider.cc
+++ b/chrome/browser/gtk/gtk_theme_provider.cc
@@ -352,8 +352,8 @@ void GtkThemeProvider::LoadGtkValues() {
// color, change the luminosity of the frame color downwards to 80% of what
// it currently is. This is in a futile attempt to match the default
// metacity and xfwm themes.
- SkColor shifted = skia::HSLShift(GdkToSkColor(&frame_color),
- kDefaultFrameShift);
+ SkColor shifted = color_utils::HSLShift(GdkToSkColor(&frame_color),
+ kDefaultFrameShift);
frame_color.pixel = 0;
frame_color.red = SkColorGetR(shifted) * kSkiaToGDKMultiplier;
frame_color.green = SkColorGetG(shifted) * kSkiaToGDKMultiplier;