Index: include/gpu/GrEffect.h |
diff --git a/include/gpu/GrEffect.h b/include/gpu/GrEffect.h |
index 781a29d289a5fcf84bedc4c3e5060059071eac0f..8cb870ee153dd88ff388690987c44d765cbb5514 100644 |
--- a/include/gpu/GrEffect.h |
+++ b/include/gpu/GrEffect.h |
@@ -71,9 +71,8 @@ public: |
from getFactory()). |
A return value of true from isEqual() should not be used to test whether the effects would |
- generate the same shader code. To test for identical code generation use the EffectKey |
- computed by the GrBackendEffectFactory: |
- effectA.getFactory().glEffectKey(effectA) == effectB.getFactory().glEffectKey(effectB). |
+ generate the same shader code. To test for identical code generation use the effects' keys |
+ computed by the GrBackendEffectFactory. |
*/ |
bool isEqual(const GrEffect& other) const { |
if (&this->getFactory() != &other.getFactory()) { |