diff options
author | ethannicholas <ethannicholas@google.com> | 2016-09-07 13:37:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-07 13:37:16 -0700 |
commit | 14fe8cc16d2a98d5a96f818e4d0b7127ecad59e2 (patch) | |
tree | 71530ded37d30a8385a4568cbac2d9913f6b8b3c /src/sksl/SkSLIRGenerator.h | |
parent | ef6a9b7f9393d0317c879bc0060f427601b19a81 (diff) |
refactored SkSL VarDeclaration handling
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2312233002
Review-Url: https://codereview.chromium.org/2312233002
Diffstat (limited to 'src/sksl/SkSLIRGenerator.h')
-rw-r--r-- | src/sksl/SkSLIRGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/SkSLIRGenerator.h b/src/sksl/SkSLIRGenerator.h index 2384b2dabc..a3ff210b45 100644 --- a/src/sksl/SkSLIRGenerator.h +++ b/src/sksl/SkSLIRGenerator.h @@ -56,8 +56,8 @@ public: IRGenerator(const Context* context, std::shared_ptr<SymbolTable> root, ErrorReporter& errorReporter); - std::unique_ptr<VarDeclaration> convertVarDeclaration(const ASTVarDeclaration& decl, - Variable::Storage storage); + std::unique_ptr<VarDeclarations> convertVarDeclarations(const ASTVarDeclarations& decl, + Variable::Storage storage); std::unique_ptr<FunctionDefinition> convertFunction(const ASTFunction& f); std::unique_ptr<Statement> convertStatement(const ASTStatement& statement); std::unique_ptr<Expression> convertExpression(const ASTExpression& expression); |