Index: src/core/SkXfermode.cpp |
diff --git a/src/core/SkXfermode.cpp b/src/core/SkXfermode.cpp |
index b5f95dad51bc9fca81073e6e4908c0a3243f97d2..d62602e334c359f97826083f82271ba394451192 100644 |
--- a/src/core/SkXfermode.cpp |
+++ b/src/core/SkXfermode.cpp |
@@ -971,7 +971,7 @@ public: |
static inline EffectKey GenKey(const GrDrawEffect& drawEffect, const GrGLCaps&) { |
// The background may come from the dst or from a texture. |
- int numTextures = (*drawEffect.effect())->numTextures(); |
+ int numTextures = drawEffect.effect()->numTextures(); |
SkASSERT(numTextures <= 1); |
return (drawEffect.castEffect<XferEffect>().mode() << 1) | numTextures; |
} |