Index: src/gpu/GrRecordReplaceDraw.cpp |
diff --git a/src/gpu/GrRecordReplaceDraw.cpp b/src/gpu/GrRecordReplaceDraw.cpp |
index 6f05206dcc69b7cea899bd4a066aa62d86393c67..e3936de48e6b452dab1de08eaa13877af30e3d82 100644 |
--- a/src/gpu/GrRecordReplaceDraw.cpp |
+++ b/src/gpu/GrRecordReplaceDraw.cpp |
@@ -43,7 +43,7 @@ static inline void draw_replacement_bitmap(GrCachedLayer* layer, SkCanvas* canva |
canvas->save(); |
canvas->setMatrix(SkMatrix::I()); |
- canvas->drawBitmapRectToRect(bm, &src, dst, layer->paint()); |
+ canvas->drawBitmapRect(bm, &src, dst, layer->paint(), SkCanvas::kStrict_SrcRectConstraint); |
canvas->restore(); |
} else { |
canvas->drawSprite(bm, |