diff options
author | reed <reed@google.com> | 2015-07-17 07:09:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-17 07:09:43 -0700 |
commit | 84984efeb64787b88c5f8bd6929cfe2d58a3ba06 (patch) | |
tree | 79645557c20ff0e6e6bf75a0e92df1c7fece039f /bench/GameBench.cpp | |
parent | b9efc79015599db1b95a304210d119947bedb8de (diff) |
Revert[2] of guard to remove DrawBitmapRectFlags
This reverts commit 91110195a2eee170c11885da9d16f94b00a39f87.
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/1240753003
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); } } } |