aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLSection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLSection.h')
-rw-r--r--src/sksl/ir/SkSLSection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ir/SkSLSection.h b/src/sksl/ir/SkSLSection.h
index f9815b1caa..96c257b1f8 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(Position position, String name, String arg, String text)
- : INHERITED(position, kSection_Kind)
+ Section(int offset, String name, String arg, String text)
+ : INHERITED(offset, kSection_Kind)
, fName(std::move(name))
, fArgument(std::move(arg))
, fText(std::move(text)) {}