| Index: src/effects/SkBitmapSource.cpp
|
| diff --git a/src/effects/SkBitmapSource.cpp b/src/effects/SkBitmapSource.cpp
|
| index 0d9315b2abfe77d7415afe10dd147a5e4bd8604f..1d8078d59f317578b1e1584d50c1540f9462a988 100644
|
| --- a/src/effects/SkBitmapSource.cpp
|
| +++ b/src/effects/SkBitmapSource.cpp
|
| @@ -67,9 +67,8 @@ bool SkBitmapSource::onFilterImage(Proxy* proxy, const SkBitmap&, const Context&
|
| offset->fX = offset->fY = 0;
|
| return true;
|
| }
|
| - SkIRect dstIRect;
|
| - dstRect.roundOut(&dstIRect);
|
|
|
| + const SkIRect dstIRect = dstRect.roundOut();
|
| SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(dstIRect.width(), dstIRect.height()));
|
| if (NULL == device.get()) {
|
| return false;
|
|
|