diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-10 15:01:10 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-10 15:01:10 +0000 |
commit | 53c8fdf0f2abd695a66237d901a8d74eb45bb6d0 (patch) | |
tree | c3d96f89afce15dc055b0c2b3b9f32aadc2d9e8a /chrome/browser/views | |
parent | 6addd9e9debd24130c31cdfab55c84bca9bfdc72 (diff) | |
download | chromium_src-53c8fdf0f2abd695a66237d901a8d74eb45bb6d0.zip chromium_src-53c8fdf0f2abd695a66237d901a8d74eb45bb6d0.tar.gz chromium_src-53c8fdf0f2abd695a66237d901a8d74eb45bb6d0.tar.bz2 |
Remove base dependency from image_operations and associated unittests. I also renamed the namespace from "gfx" to "skia".
This also adds back the image_operations_unittest to a project (this had gotten lost in my move).
Review URL: http://codereview.chromium.org/13143
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6706 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r-- | chrome/browser/views/tabs/tab_renderer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/views/tabs/tab_renderer.cc b/chrome/browser/views/tabs/tab_renderer.cc index 6026b9e..4581f6d 100644 --- a/chrome/browser/views/tabs/tab_renderer.cc +++ b/chrome/browser/views/tabs/tab_renderer.cc @@ -586,13 +586,13 @@ void TabRenderer::PaintActiveTabBackground(ChromeCanvas* canvas) { void TabRenderer::PaintHoverTabBackground(ChromeCanvas* canvas, double opacity) { bool is_otr = data_.off_the_record; - SkBitmap left = gfx::ImageOperations::CreateBlendedBitmap( + SkBitmap left = skia::ImageOperations::CreateBlendedBitmap( (is_otr ? *tab_inactive_otr_l : *tab_inactive_l), *tab_hover_l, opacity); - SkBitmap center = gfx::ImageOperations::CreateBlendedBitmap( + SkBitmap center = skia::ImageOperations::CreateBlendedBitmap( (is_otr ? *tab_inactive_otr_c : *tab_inactive_c), *tab_hover_c, opacity); - SkBitmap right = gfx::ImageOperations::CreateBlendedBitmap( + SkBitmap right = skia::ImageOperations::CreateBlendedBitmap( (is_otr ? *tab_inactive_otr_r : *tab_inactive_r), *tab_hover_r, opacity); |