aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/tallstretchedbitmaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/tallstretchedbitmaps.cpp')
-rw-r--r--gm/tallstretchedbitmaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/tallstretchedbitmaps.cpp b/gm/tallstretchedbitmaps.cpp
index 424aa3a94f..4581f10ac2 100644
--- a/gm/tallstretchedbitmaps.cpp
+++ b/gm/tallstretchedbitmaps.cpp
@@ -88,7 +88,7 @@ protected:
SkRect dstRect = SkRect::MakeWH(SkIntToScalar(bmp.width()), 10.f * itemHeight);
SkPaint paint;
paint.setFilterQuality(kLow_SkFilterQuality);
- canvas->drawBitmapRect(bmp, &subRect, dstRect, &paint);
+ canvas->drawBitmapRect(bmp, subRect, dstRect, &paint);
canvas->translate(SkIntToScalar(bmp.width() + 10), 0);
}
}