| Index: src/core/SkBitmapScaler.cpp
|
| diff --git a/src/core/SkBitmapScaler.cpp b/src/core/SkBitmapScaler.cpp
|
| index f016098636aba6d711e90434fbf963791c887840..57b6b93e4ed9ae4b928d717dd6f24d8282072721 100644
|
| --- a/src/core/SkBitmapScaler.cpp
|
| +++ b/src/core/SkBitmapScaler.cpp
|
| @@ -318,15 +318,3 @@ bool SkBitmapScaler::Resize(SkBitmap* resultPtr,
|
| return true;
|
| }
|
|
|
| -// static -- simpler interface to the resizer; returns a default bitmap if scaling
|
| -// fails for any reason. This is the interface that Chrome expects.
|
| -SkBitmap SkBitmapScaler::Resize(const SkBitmap& source,
|
| - ResizeMethod method,
|
| - float destWidth, float destHeight,
|
| - SkBitmap::Allocator* allocator) {
|
| - SkBitmap result;
|
| - if (!Resize(&result, source, method, destWidth, destHeight, allocator)) {
|
| - return SkBitmap();
|
| - }
|
| - return result;
|
| -}
|
|
|