aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLExtension.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLExtension.h')
-rw-r--r--src/sksl/ir/SkSLExtension.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ir/SkSLExtension.h b/src/sksl/ir/SkSLExtension.h
index 70dc6b3eaf..b5a48b94ab 100644
--- a/src/sksl/ir/SkSLExtension.h
+++ b/src/sksl/ir/SkSLExtension.h
@@ -16,8 +16,8 @@ namespace SkSL {
* An extension declaration.
*/
struct Extension : public ProgramElement {
- Extension(Position position, String name)
- : INHERITED(position, kExtension_Kind)
+ Extension(int offset, String name)
+ : INHERITED(offset, kExtension_Kind)
, fName(std::move(name)) {}
String description() const override {