aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ast/SkSLASTBlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ast/SkSLASTBlock.h')
-rw-r--r--src/sksl/ast/SkSLASTBlock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ast/SkSLASTBlock.h b/src/sksl/ast/SkSLASTBlock.h
index 09450a3db8..6b1e9c5551 100644
--- a/src/sksl/ast/SkSLASTBlock.h
+++ b/src/sksl/ast/SkSLASTBlock.h
@@ -20,8 +20,8 @@ struct ASTBlock : public ASTStatement {
: INHERITED(position, kBlock_Kind)
, fStatements(std::move(statements)) {}
- std::string description() const override {
- std::string result("{");
+ SkString description() const override {
+ SkString result("{");
for (size_t i = 0; i < fStatements.size(); i++) {
result += "\n";
result += fStatements[i]->description();