aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLVarDeclarationsStatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLVarDeclarationsStatement.h')
-rw-r--r--src/sksl/ir/SkSLVarDeclarationsStatement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/ir/SkSLVarDeclarationsStatement.h b/src/sksl/ir/SkSLVarDeclarationsStatement.h
index a6a95a9c08..0258e66c6e 100644
--- a/src/sksl/ir/SkSLVarDeclarationsStatement.h
+++ b/src/sksl/ir/SkSLVarDeclarationsStatement.h
@@ -18,7 +18,7 @@ namespace SkSL {
*/
struct VarDeclarationsStatement : public Statement {
VarDeclarationsStatement(std::unique_ptr<VarDeclarations> decl)
- : INHERITED(decl->fPosition, kVarDeclarations_Kind)
+ : INHERITED(decl->fOffset, kVarDeclarations_Kind)
, fDeclaration(std::move(decl)) {}
bool isEmpty() const override {