GrClip no longer translates its clips (to better mimic SkClipStack's behavior)
http://codereview.appspot.com/6445052/
git-svn-id: http://skia.googlecode.com/svn/trunk@4848 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp
index 36e6646..ab04bb4 100644
--- a/src/gpu/GrTextContext.cpp
+++ b/src/gpu/GrTextContext.cpp
@@ -88,6 +88,8 @@
const GrClipData* clipData = context->getClip();
GrRect conservativeBound = clipData->fClipStack->getConservativeBounds();
+ conservativeBound.offset(SkIntToScalar(-clipData->fOrigin.fX),
+ SkIntToScalar(-clipData->fOrigin.fY));
if (!fExtMatrix.isIdentity()) {
GrMatrix inverse;