Chromium Code Reviews| Index: src/core/SkBitmapScaler.h |
| diff --git a/src/core/SkBitmapScaler.h b/src/core/SkBitmapScaler.h |
| index 03feec3e127c239eb4ac056d7845f748775242ab..71ec73065c95f6d4aa68739ad31fad88f1e9e6e0 100644 |
| --- a/src/core/SkBitmapScaler.h |
| +++ b/src/core/SkBitmapScaler.h |
| @@ -29,6 +29,8 @@ public: |
| RESIZE_LastMethod = RESIZE_MITCHELL, |
| }; |
| + static bool Resize(const SkPixmap& dst, const SkPixmap& src, ResizeMethod method); |
|
caryclark
2016/01/13 20:22:53
At a casual glance, I would expect that this does
robertphillips
2016/01/13 20:41:38
I agree - it seems odd.
|
| + |
| static bool Resize(SkBitmap* result, const SkPixmap& src, ResizeMethod method, |
| int dest_width, int dest_height, SkBitmap::Allocator* = nullptr); |