diff options
Diffstat (limited to 'src/sksl/ast/SkSLASTVarDeclarationStatement.h')
-rw-r--r-- | src/sksl/ast/SkSLASTVarDeclarationStatement.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/ast/SkSLASTVarDeclarationStatement.h b/src/sksl/ast/SkSLASTVarDeclarationStatement.h index c3a4069ba0..8ec5bf6789 100644 --- a/src/sksl/ast/SkSLASTVarDeclarationStatement.h +++ b/src/sksl/ast/SkSLASTVarDeclarationStatement.h @@ -18,7 +18,7 @@ namespace SkSL { */ struct ASTVarDeclarationStatement : public ASTStatement { ASTVarDeclarationStatement(std::unique_ptr<ASTVarDeclarations> decl) - : INHERITED(decl->fPosition, kVarDeclaration_Kind) + : INHERITED(decl->fOffset, kVarDeclaration_Kind) , fDeclarations(std::move(decl)) {} String description() const override { |