aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLWhileStatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLWhileStatement.h')
-rw-r--r--src/sksl/ir/SkSLWhileStatement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/ir/SkSLWhileStatement.h b/src/sksl/ir/SkSLWhileStatement.h
index a741a0441d..7c6a2907c4 100644
--- a/src/sksl/ir/SkSLWhileStatement.h
+++ b/src/sksl/ir/SkSLWhileStatement.h
@@ -27,7 +27,7 @@ struct WhileStatement : public Statement {
return "while (" + fTest->description() + ") " + fStatement->description();
}
- std::unique_ptr<Expression> fTest;
+ const std::unique_ptr<Expression> fTest;
const std::unique_ptr<Statement> fStatement;
typedef Statement INHERITED;