aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ast/SkSLASTBreakStatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ast/SkSLASTBreakStatement.h')
-rw-r--r--src/sksl/ast/SkSLASTBreakStatement.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ast/SkSLASTBreakStatement.h b/src/sksl/ast/SkSLASTBreakStatement.h
index ede548cc24..dad2a85c0a 100644
--- a/src/sksl/ast/SkSLASTBreakStatement.h
+++ b/src/sksl/ast/SkSLASTBreakStatement.h
@@ -19,8 +19,8 @@ struct ASTBreakStatement : public ASTStatement {
ASTBreakStatement(Position position)
: INHERITED(position, kBreak_Kind) {}
- std::string description() const override {
- return "break;";
+ SkString description() const override {
+ return SkString("break;");
}
typedef ASTStatement INHERITED;