From d8df21a1e08b5b3380261f4b90acfbdc538ef93c Mon Sep 17 00:00:00 2001 From: Ethan Nicholas <ethannicholas@google.com> Date: Thu, 17 Nov 2016 16:13:37 -0500 Subject: switched skslc from std::string to SkString BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4977 Change-Id: I15e24963b09b719a2c07da67745114f5ac66cee8 Reviewed-on: https://skia-review.googlesource.com/4977 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> --- src/sksl/ast/SkSLASTContinueStatement.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sksl/ast/SkSLASTContinueStatement.h') diff --git a/src/sksl/ast/SkSLASTContinueStatement.h b/src/sksl/ast/SkSLASTContinueStatement.h index d5ab7a5c74..4cded3b16b 100644 --- a/src/sksl/ast/SkSLASTContinueStatement.h +++ b/src/sksl/ast/SkSLASTContinueStatement.h @@ -19,8 +19,8 @@ struct ASTContinueStatement : public ASTStatement { ASTContinueStatement(Position position) : INHERITED(position, kContinue_Kind) {} - std::string description() const override { - return "continue;"; + SkString description() const override { + return SkString("continue;"); } typedef ASTStatement INHERITED; -- cgit v1.2.3