| Index: src/gpu/GrTextContext.cpp
|
| diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp
|
| index e62136507c4ea039561adcaeed63523b51b27e69..bc544ad4a00f0623d0ede6efc76c097bc2167e02 100644
|
| --- a/src/gpu/GrTextContext.cpp
|
| +++ b/src/gpu/GrTextContext.cpp
|
| @@ -24,15 +24,9 @@ GrTextContext::~GrTextContext() {
|
| void GrTextContext::init(const GrPaint& grPaint, const SkPaint& skPaint) {
|
| const GrClipData* clipData = fContext->getClip();
|
|
|
| - SkRect devConservativeBound;
|
| - clipData->fClipStack->getConservativeBounds(
|
| - -clipData->fOrigin.fX,
|
| - -clipData->fOrigin.fY,
|
| - fContext->getRenderTarget()->width(),
|
| + clipData->getConservativeBounds(fContext->getRenderTarget()->width(),
|
| fContext->getRenderTarget()->height(),
|
| - &devConservativeBound);
|
| -
|
| - devConservativeBound.roundOut(&fClipRect);
|
| + &fClipRect);
|
|
|
| fDrawTarget = fContext->getTextTarget();
|
|
|
|
|