diff options
Diffstat (limited to 'src/sksl/ir/SkSLSection.h')
-rw-r--r-- | src/sksl/ir/SkSLSection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ir/SkSLSection.h b/src/sksl/ir/SkSLSection.h index 96c257b1f8..f9815b1caa 100644 --- a/src/sksl/ir/SkSLSection.h +++ b/src/sksl/ir/SkSLSection.h @@ -16,8 +16,8 @@ namespace SkSL { * A section declaration (e.g. @body { body code here }).. */ struct Section : public ProgramElement { - Section(int offset, String name, String arg, String text) - : INHERITED(offset, kSection_Kind) + Section(Position position, String name, String arg, String text) + : INHERITED(position, kSection_Kind) , fName(std::move(name)) , fArgument(std::move(arg)) , fText(std::move(text)) {} |