Fix typo in class name.
Change-Id: I28b01a83960b6f7c8e715a817dc75a2408465a26
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/328658
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/src/sksl/SkSLInliner.cpp b/src/sksl/SkSLInliner.cpp
index dfd7342..e901143 100644
--- a/src/sksl/SkSLInliner.cpp
+++ b/src/sksl/SkSLInliner.cpp
@@ -1134,9 +1134,9 @@
}
static bool multiple_calls_to(const Program& program, const FunctionDeclaration* fn) {
- class MulitpleCallVisitor : public ProgramVisitor {
+ class MultipleCallVisitor : public ProgramVisitor {
public:
- MulitpleCallVisitor(const FunctionDeclaration* function) : fFunction(function) {}
+ MultipleCallVisitor(const FunctionDeclaration* function) : fFunction(function) {}
bool visitExpression(const Expression& e) override {
if (e.is<FunctionCall>() && &e.as<FunctionCall>().function() == fFunction) {
@@ -1153,7 +1153,7 @@
using INHERITED = ProgramVisitor;
};
- MulitpleCallVisitor visitor(fn);
+ MultipleCallVisitor visitor(fn);
return visitor.visit(program);
}