| Index: skia/ext/image_operations.cc
|
| diff --git a/skia/ext/image_operations.cc b/skia/ext/image_operations.cc
|
| index 985787bae38ec1a88668407329a1e0a0c0147650..26bd44e5933f2296785110206354ed12c6c0df34 100644
|
| --- a/skia/ext/image_operations.cc
|
| +++ b/skia/ext/image_operations.cc
|
| @@ -160,14 +160,6 @@ class ResizeFilter {
|
|
|
| ImageOperations::ResizeMethod method_;
|
|
|
| - // Size of the filter support on one side only in the destination space.
|
| - // See GetFilterSupport.
|
| - float x_filter_support_;
|
| - float y_filter_support_;
|
| -
|
| - // Subset of scaled destination bitmap to compute.
|
| - SkIRect out_bounds_;
|
| -
|
| ConvolutionFilter1D x_filter_;
|
| ConvolutionFilter1D y_filter_;
|
|
|
| @@ -175,11 +167,12 @@ class ResizeFilter {
|
| };
|
|
|
| ResizeFilter::ResizeFilter(ImageOperations::ResizeMethod method,
|
| - int src_full_width, int src_full_height,
|
| - int dest_width, int dest_height,
|
| + int src_full_width,
|
| + int src_full_height,
|
| + int dest_width,
|
| + int dest_height,
|
| const SkIRect& dest_subset)
|
| - : method_(method),
|
| - out_bounds_(dest_subset) {
|
| + : method_(method) {
|
| // method_ will only ever refer to an "algorithm method".
|
| SkASSERT((ImageOperations::RESIZE_FIRST_ALGORITHM_METHOD <= method) &&
|
| (method <= ImageOperations::RESIZE_LAST_ALGORITHM_METHOD));
|
|
|