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 /src/pipe | |
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 'src/pipe')
-rw-r--r-- | src/pipe/SkGPipeRead.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pipe/SkGPipeRead.cpp b/src/pipe/SkGPipeRead.cpp index ef1eeb303b..29d798bf73 100644 --- a/src/pipe/SkGPipeRead.cpp +++ b/src/pipe/SkGPipeRead.cpp @@ -650,7 +650,7 @@ static void drawBitmapRect_rp(SkCanvas* canvas, SkReader32* reader, const SkRect* dst = skip<SkRect>(reader); const SkBitmap* bitmap = holder.getBitmap(); if (state->shouldDraw()) { - canvas->drawBitmapRect(*bitmap, src, *dst, hasPaint ? &state->paint() : NULL, constraint); + canvas->legacy_drawBitmapRect(*bitmap, src, *dst, hasPaint ? &state->paint() : NULL, constraint); } } @@ -692,7 +692,7 @@ static void drawImageRect_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32 const SkImage* image = state->getImage(slot); if (state->shouldDraw()) { - canvas->drawImageRect(image, src, *dst, hasPaint ? &state->paint() : NULL, constraint); + canvas->legacy_drawImageRect(image, src, *dst, hasPaint ? &state->paint() : NULL, constraint); } } |