aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/tallstretchedbitmaps.cpp
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@google.com>2015-07-17 05:57:34 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-17 05:57:34 -0700
commit91110195a2eee170c11885da9d16f94b00a39f87 (patch)
tree4dc22ce2b05e9cde0369d2f4d97bb18cd8d2f6aa /gm/tallstretchedbitmaps.cpp
parentac66a8122b27c388cc74b3913d9a9be351a44e54 (diff)
Revert of guard to remove DrawBitmapRectFlags (patchset #1 id:1 of https://codereview.chromium.org/1235393003/)
Reason for revert: breaking android framework build Original issue's description: > guard to remove DrawBitmapRectFlags > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/6fb0b6779e40ce05c20cf279f0ecff31fa3cd60d TBR=fmalita@chromium.org,djsollen@google.com,reed@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1230823007
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 4581f10ac2..424aa3a94f 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);
}
}