diff options
author | reed <reed@google.com> | 2015-08-06 10:02:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-06 10:02:53 -0700 |
commit | e47829b6b1eeb6b0c97ccb3df3016d197046824c (patch) | |
tree | fb90751c17490f47febe44cabf2c4cf1fa249a48 /gm/mipmap.cpp | |
parent | fb1141ae1db2ffce479bc46413b008d31cf9d3cc (diff) |
flag to use const& instead of const* for src-rect
BUG=skia:
Review URL: https://codereview.chromium.org/1272713005
Diffstat (limited to 'gm/mipmap.cpp')
-rw-r--r-- | gm/mipmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/mipmap.cpp b/gm/mipmap.cpp index 6163a3ac51..596cc19d6e 100644 --- a/gm/mipmap.cpp +++ b/gm/mipmap.cpp @@ -42,7 +42,7 @@ static void test_mip(SkCanvas* canvas) { canvas->translate(20, 20); for (int i = 0; i < 4; ++i) { paint.setFilterQuality(SkFilterQuality(i)); - canvas->drawImageRect(img, NULL, dst, &paint); + canvas->drawImageRect(img, dst, &paint); canvas->translate(0, 20); } canvas->drawImage(img, 20, 20, NULL); |