Index: src/utils/SkNinePatch.cpp |
diff --git a/src/utils/SkNinePatch.cpp b/src/utils/SkNinePatch.cpp |
index 4a5308bb07193d605500d95ff9584d7da2f77d2f..ce8d4801c60d398ba77eb83c58f8954237fbc99e 100644 |
--- a/src/utils/SkNinePatch.cpp |
+++ b/src/utils/SkNinePatch.cpp |
@@ -136,7 +136,7 @@ |
const int numYStretch = (numYDivs + 1) >> 1; |
if (numXStretch < 1 && numYStretch < 1) { |
- canvas->drawBitmapRect(bitmap, bounds, paint); |
+ canvas->drawBitmapRect(bitmap, NULL, bounds, paint); |
return; |
} |
@@ -293,7 +293,7 @@ |
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); |
} |
} |
} |