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/renderer | |
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/renderer')
-rw-r--r-- | chrome/renderer/render_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index ec4fec0..4b00d9b 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -798,8 +798,8 @@ bool RenderView::CaptureThumbnail(WebFrame* frame, device->accessBitmap(false).extractSubset(&subset, src_rect); // Resample the subset that we want to get it the right size. - *thumbnail = gfx::ImageOperations::Resize( - subset, gfx::ImageOperations::RESIZE_LANCZOS3, gfx::Size(w, h)); + *thumbnail = skia::ImageOperations::Resize( + subset, skia::ImageOperations::RESIZE_LANCZOS3, w, h); score->boring_score = CalculateBoringScore(thumbnail); |