diff options
author | reed <reed@chromium.org> | 2015-07-16 06:10:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-16 06:10:02 -0700 |
commit | 6fb0b6779e40ce05c20cf279f0ecff31fa3cd60d (patch) | |
tree | bd36f1f0315eae23db39853f1a17917cc680fc20 /bench/GameBench.cpp | |
parent | 18a240d15ca132fab01ba179bd1165d6a182f1cf (diff) |
guard to remove DrawBitmapRectFlags
BUG=skia:
Review URL: https://codereview.chromium.org/1235393003
Diffstat (limited to 'bench/GameBench.cpp')
-rw-r--r-- | bench/GameBench.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bench/GameBench.cpp b/bench/GameBench.cpp index d9a397e190..3d9885f692 100644 --- a/bench/GameBench.cpp +++ b/bench/GameBench.cpp @@ -204,11 +204,11 @@ protected: 4, verts, uvs, NULL, NULL, indices, 6, p2); } else { - canvas->drawBitmapRect(fAtlas, &src, dst, &p, - SkCanvas::kBleed_DrawBitmapRectFlag); + canvas->drawBitmapRect(fAtlas, src, dst, &p, + SkCanvas::kFast_SrcRectConstraint); } } else { - canvas->drawBitmapRect(fCheckerboard, NULL, dst, &p); + canvas->drawBitmapRect(fCheckerboard, dst, &p); } } } |