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

Unified Diff: ui/gfx/image/image_skia_operations.cc

Issue 303543004: MacViews: views_examples_with_content_exe working! Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files Created 6 years, 7 months 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 | « ui/gfx/gfx.gyp ('k') | ui/gfx/mac/point_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_skia_operations.cc
diff --git a/ui/gfx/image/image_skia_operations.cc b/ui/gfx/image/image_skia_operations.cc
index 6953b59301ffa4a6584c73fa5bfbe7a9f48387d1..21f43c1d22516eba7c1d604b053570b51ee22880 100644
--- a/ui/gfx/image/image_skia_operations.cc
+++ b/ui/gfx/image/image_skia_operations.cc
@@ -357,6 +357,7 @@ class ResizeSource : public ImageSkiaSource {
return image_rep;
const Size target_pixel_size = DIPToPixelSize(target_dip_size_, scale);
+ DLOG(INFO) << "scale " << image_rep.GetWidth() << " -> " << target_pixel_size.width() << " @" << scale;
const SkBitmap resized = skia::ImageOperations::Resize(
image_rep.sk_bitmap(),
resize_method_,
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gfx/mac/point_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698