Index: include/gpu/GrTBackendEffectFactory.h |
diff --git a/include/gpu/GrTBackendEffectFactory.h b/include/gpu/GrTBackendEffectFactory.h |
index 251e8c776877be577b0fa206ed616526fd81b1af..450eb68ee563e67ef5b2b2a13adca11791ed8994 100644 |
--- a/include/gpu/GrTBackendEffectFactory.h |
+++ b/include/gpu/GrTBackendEffectFactory.h |
@@ -49,8 +49,7 @@ public: |
virtual void getGLEffectKey(const GrDrawEffect& drawEffect, |
const GrGLCaps& caps, |
GrEffectKeyBuilder* b) const SK_OVERRIDE { |
- EffectKey effectKey = GLEffect::GenKey(drawEffect, caps); |
- b->add32(effectKey); |
+ GLEffect::GenKey(drawEffect, caps, b); |
} |
/** Returns a new instance of the appropriate *GL* implementation class |