Index: src/sksl/ast/SkSLASTVarDeclarationStatement.h |
diff --git a/src/sksl/ast/SkSLASTVarDeclarationStatement.h b/src/sksl/ast/SkSLASTVarDeclarationStatement.h |
index b647b6e52fa73448d207756d6ae3c5999456eca2..8bae389146c1b2b2c6afa977b84366fd85a40b0f 100644 |
--- a/src/sksl/ast/SkSLASTVarDeclarationStatement.h |
+++ b/src/sksl/ast/SkSLASTVarDeclarationStatement.h |
@@ -17,15 +17,15 @@ namespace SkSL { |
* A variable declaration appearing as a statement within a function. |
*/ |
struct ASTVarDeclarationStatement : public ASTStatement { |
- ASTVarDeclarationStatement(std::unique_ptr<ASTVarDeclaration> decl) |
+ ASTVarDeclarationStatement(std::unique_ptr<ASTVarDeclarations> decl) |
: INHERITED(decl->fPosition, kVarDeclaration_Kind) |
- , fDeclaration(std::move(decl)) {} |
+ , fDeclarations(std::move(decl)) {} |
std::string description() const override { |
- return fDeclaration->description() + ";"; |
+ return fDeclarations->description() + ";"; |
} |
- std::unique_ptr<ASTVarDeclaration> fDeclaration; |
+ std::unique_ptr<ASTVarDeclarations> fDeclarations; |
typedef ASTStatement INHERITED; |
}; |