Added getConservativeBound helper function to GrClipData
http://codereview.appspot.com/6454054/
git-svn-id: http://skia.googlecode.com/svn/trunk@4798 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp
index 988cfa7..13d6155 100644
--- a/src/gpu/GrAAHairLinePathRenderer.cpp
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp
@@ -512,10 +512,7 @@
int rtHeight = drawState.getRenderTarget()->height();
GrIRect clip;
-
- const GrClipData* clipData = target->getClip();
- GrRect conservativeBounds = clipData->fClipStack->getConservativeBounds();
- conservativeBounds.roundOut(&clip);
+ target->getClip()->getConservativeBounds(drawState.getRenderTarget(), &clip);
GrVertexLayout layout = GrDrawTarget::kEdge_VertexLayoutBit;
GrMatrix viewM = drawState.getViewMatrix();