aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/tallstretchedbitmaps.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-07-17 07:09:43 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-17 07:09:43 -0700
commit84984efeb64787b88c5f8bd6929cfe2d58a3ba06 (patch)
tree79645557c20ff0e6e6bf75a0e92df1c7fece039f /gm/tallstretchedbitmaps.cpp
parentb9efc79015599db1b95a304210d119947bedb8de (diff)
Revert[2] of guard to remove DrawBitmapRectFlags
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);
}
}