diff options
Diffstat (limited to 'src/sksl/ast/SkSLASTDiscardStatement.h')
-rw-r--r-- | src/sksl/ast/SkSLASTDiscardStatement.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ast/SkSLASTDiscardStatement.h b/src/sksl/ast/SkSLASTDiscardStatement.h index dcf6b15e64..083c3f82d7 100644 --- a/src/sksl/ast/SkSLASTDiscardStatement.h +++ b/src/sksl/ast/SkSLASTDiscardStatement.h @@ -16,8 +16,8 @@ namespace SkSL { * A 'discard' statement. */ struct ASTDiscardStatement : public ASTStatement { - ASTDiscardStatement(Position position) - : INHERITED(position, kDiscard_Kind) {} + ASTDiscardStatement(int offset) + : INHERITED(offset, kDiscard_Kind) {} String description() const override { return String("discard;"); |