Index: src/utils/SkNinePatch.cpp |
diff --git a/src/utils/SkNinePatch.cpp b/src/utils/SkNinePatch.cpp |
index ce8d4801c60d398ba77eb83c58f8954237fbc99e..4a5308bb07193d605500d95ff9584d7da2f77d2f 100644 |
--- a/src/utils/SkNinePatch.cpp |
+++ b/src/utils/SkNinePatch.cpp |
@@ -136,7 +136,7 @@ void SkNinePatch::DrawMesh(SkCanvas* canvas, const SkRect& bounds, |
const int numYStretch = (numYDivs + 1) >> 1; |
if (numXStretch < 1 && numYStretch < 1) { |
- canvas->drawBitmapRect(bitmap, NULL, bounds, paint); |
+ canvas->drawBitmapRect(bitmap, bounds, paint); |
return; |
} |
@@ -293,7 +293,7 @@ static void drawNineViaRects(SkCanvas* canvas, const SkRect& dst, |
s.fRight = srcX[x+1]; |
d.fLeft = dstX[x]; |
d.fRight = dstX[x+1]; |
- canvas->drawBitmapRect(bitmap, &s, d, paint); |
+ canvas->drawBitmapRect(bitmap, s, d, paint); |
} |
} |
} |