diff options
Diffstat (limited to 'src/sksl/ast/SkSLASTBlock.h')
-rw-r--r-- | src/sksl/ast/SkSLASTBlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ast/SkSLASTBlock.h b/src/sksl/ast/SkSLASTBlock.h index 37c0e81a95..df01f62a15 100644 --- a/src/sksl/ast/SkSLASTBlock.h +++ b/src/sksl/ast/SkSLASTBlock.h @@ -16,8 +16,8 @@ namespace SkSL { * Represents a curly-braced block of statements. */ struct ASTBlock : public ASTStatement { - ASTBlock(Position position, std::vector<std::unique_ptr<ASTStatement>> statements) - : INHERITED(position, kBlock_Kind) + ASTBlock(int offset, std::vector<std::unique_ptr<ASTStatement>> statements) + : INHERITED(offset, kBlock_Kind) , fStatements(std::move(statements)) {} String description() const override { |