Index: src/gpu/GrTextContext.cpp |
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp |
index c909aac2f96f734bf51279f42a7cac1b6c5b4e67..895e97752b81fc1e322fbba4349cbc15e6ad6149 100644 |
--- a/src/gpu/GrTextContext.cpp |
+++ b/src/gpu/GrTextContext.cpp |
@@ -22,11 +22,11 @@ GrTextContext::~GrTextContext() { |
} |
void GrTextContext::init(GrRenderTarget* rt, const GrPaint& grPaint, const SkPaint& skPaint) { |
- const GrClipData* clipData = fContext->getClip(); |
+ fClip = fContext->getClip(); |
fRenderTarget.reset(SkRef(rt)); |
- clipData->getConservativeBounds(fRenderTarget->width(), fRenderTarget->height(), &fClipRect); |
+ fClip->getConservativeBounds(fRenderTarget->width(), fRenderTarget->height(), &fClipRect); |
fDrawTarget = fContext->getTextTarget(); |