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

Unified Diff: chrome/renderer/render_view.cc

Issue 13726: Move Image operations and convolver to the skia namespace and clean up a few ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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
« no previous file with comments | « chrome/common/gfx/icon_util.cc ('k') | chrome/views/button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 6868)
+++ chrome/renderer/render_view.cc (working copy)
@@ -798,8 +798,8 @@
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);
« no previous file with comments | « chrome/common/gfx/icon_util.cc ('k') | chrome/views/button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698