diff options
Diffstat (limited to 'src/pipe/utils/SamplePipeControllers.cpp')
-rw-r--r-- | src/pipe/utils/SamplePipeControllers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipe/utils/SamplePipeControllers.cpp b/src/pipe/utils/SamplePipeControllers.cpp index 59f612bf00..98fdff31d6 100644 --- a/src/pipe/utils/SamplePipeControllers.cpp +++ b/src/pipe/utils/SamplePipeControllers.cpp @@ -51,7 +51,7 @@ TiledPipeController::TiledPipeController(const SkBitmap& bitmap, rect.setLTRB(0, top, bitmap.width(), bottom); top = bottom; - bool extracted = bitmap.extractSubset(&fBitmaps[i], rect); + SkDEBUGCODE(bool extracted = )bitmap.extractSubset(&fBitmaps[i], rect); SkASSERT(extracted); SkDevice* device = new SkDevice(fBitmaps[i]); SkCanvas* canvas = new SkCanvas(device); |