Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1335)

Unified Diff: include/gpu/GrEffect.h

Issue 376863006: Fix param name in GrEffect::CastEffect (Closed) Base URL: https://skia.googlesource.com/skia.git@noref4
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrEffect.h
diff --git a/include/gpu/GrEffect.h b/include/gpu/GrEffect.h
index 575e3eaf946513fee7a1c46063d99189ed38ada5..781a29d289a5fcf84bedc4c3e5060059071eac0f 100644
--- a/include/gpu/GrEffect.h
+++ b/include/gpu/GrEffect.h
@@ -169,11 +169,11 @@ protected:
, 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);
}
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698