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