From 84984efeb64787b88c5f8bd6929cfe2d58a3ba06 Mon Sep 17 00:00:00 2001 From: reed Date: Fri, 17 Jul 2015 07:09:43 -0700 Subject: Revert[2] of guard to remove DrawBitmapRectFlags This reverts commit 91110195a2eee170c11885da9d16f94b00a39f87. BUG=skia: TBR= Review URL: https://codereview.chromium.org/1240753003 --- bench/GameBench.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bench/GameBench.cpp') 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); } } } -- cgit v1.2.3