Index: bench/GameBench.cpp |
diff --git a/bench/GameBench.cpp b/bench/GameBench.cpp |
index d9a397e19082732a74c2ab9f96e4b7a2177d81d0..3d9885f6920e825a695aba5ae317c3e878aa8457 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); |
} |
} |
} |