Index: src/gpu/GrPictureUtils.cpp |
diff --git a/src/gpu/GrPictureUtils.cpp b/src/gpu/GrPictureUtils.cpp |
index 8810eb8a07a03da55784f6a5343b89c804941593..0cc1f1e0656e16ccac75e5a12253cc667053b5ed 100644 |
--- a/src/gpu/GrPictureUtils.cpp |
+++ b/src/gpu/GrPictureUtils.cpp |
@@ -126,8 +126,6 @@ private: |
dst.fOffset = SkIPoint::Make(newClip.fLeft, newClip.fTop); |
dst.fOriginXform = *fCTM; |
dst.fOriginXform.postConcat(src.fOriginXform); |
- dst.fOriginXform.postTranslate(SkIntToScalar(-newClip.fLeft), |
- SkIntToScalar(-newClip.fTop)); |
if (NULL == src.fPaint) { |
dst.fPaint = NULL; |
@@ -191,8 +189,6 @@ private: |
slInfo.fSize = SkISize::Make(si.fBounds.width(), si.fBounds.height()); |
slInfo.fOffset = SkIPoint::Make(si.fBounds.fLeft, si.fBounds.fTop); |
slInfo.fOriginXform = *fCTM; |
- slInfo.fOriginXform.postTranslate(SkIntToScalar(-si.fBounds.fLeft), |
- SkIntToScalar(-si.fBounds.fTop)); |
if (NULL == si.fPaint) { |
slInfo.fPaint = NULL; |