Fix param name in GrEffect::CastEffect
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/376863006
diff --git a/include/gpu/GrEffect.h b/include/gpu/GrEffect.h
index 575e3ea..781a29d 100644
--- a/include/gpu/GrEffect.h
+++ b/include/gpu/GrEffect.h
@@ -169,11 +169,11 @@
, fWillUseInputColor(true)
, fHasVertexCode(false) {}
- /** Helper for down-casting to a GrEffect subclass
+ /**
+ * Helper for down-casting to a GrEffect subclass
*/
- template <typename T>
- static const T& CastEffect(const GrEffect& effectRef) {
- return *static_cast<const T*>(&effectRef);
+ template <typename T> static const T& CastEffect(const GrEffect& effect) {
+ return *static_cast<const T*>(&effect);
}
/**