| Index: src/gpu/GrXferProcessor.cpp
|
| diff --git a/src/gpu/GrXferProcessor.cpp b/src/gpu/GrXferProcessor.cpp
|
| index 837e13e2a62ba9b8b54e1d87813f8342d5a14853..67c5dd81a233356b822a8495e038d62066619e70 100644
|
| --- a/src/gpu/GrXferProcessor.cpp
|
| +++ b/src/gpu/GrXferProcessor.cpp
|
| @@ -67,11 +67,11 @@ void GrXferProcessor::getBlendInfo(BlendInfo* blendInfo) const {
|
| void GrXferProcessor::getGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const {
|
| uint32_t key = this->willReadDstColor() ? 0x1 : 0x0;
|
| if (key) {
|
| - if (this->getDstTexture()) {
|
| + if (const GrTexture* dstTexture = this->getDstTexture()) {
|
| key |= 0x2;
|
| - }
|
| - if (kTopLeft_GrSurfaceOrigin == this->getDstTexture()->origin()) {
|
| - key |= 0x4;
|
| + if (kTopLeft_GrSurfaceOrigin == dstTexture->origin()) {
|
| + key |= 0x4;
|
| + }
|
| }
|
| if (this->readsCoverage()) {
|
| key |= 0x8;
|
|
|