| Index: src/gpu/GrClipMaskManager.cpp | 
| diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp | 
| index 7f85801d998e882d00a13bac98bbbd0b1ee9395f..4f08e4777408395e21e40ea4a6b96347d2d6b520 100644 | 
| --- a/src/gpu/GrClipMaskManager.cpp | 
| +++ b/src/gpu/GrClipMaskManager.cpp | 
| @@ -450,7 +450,11 @@ GrTexture* GrClipMaskManager::createTempMask(int width, int height) { | 
| desc.fFlags = kRenderTarget_GrSurfaceFlag; | 
| desc.fWidth = width; | 
| desc.fHeight = height; | 
| -    desc.fConfig = kAlpha_8_GrPixelConfig; | 
| +    if (this->getContext()->isConfigRenderable(kAlpha_8_GrPixelConfig, false)) { | 
| +        desc.fConfig = kAlpha_8_GrPixelConfig; | 
| +    } else { | 
| +        desc.fConfig = kRGBA_8888_GrPixelConfig; | 
| +    } | 
|  | 
| return this->getContext()->refScratchTexture(desc, GrContext::kApprox_ScratchTexMatch); | 
| } | 
|  |