aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ast/SkSLASTForStatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ast/SkSLASTForStatement.h')
-rw-r--r--src/sksl/ast/SkSLASTForStatement.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sksl/ast/SkSLASTForStatement.h b/src/sksl/ast/SkSLASTForStatement.h
index 2706a39954..326713eb62 100644
--- a/src/sksl/ast/SkSLASTForStatement.h
+++ b/src/sksl/ast/SkSLASTForStatement.h
@@ -4,7 +4,7 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-
+
#ifndef SKSL_ASTFORSTATEMENT
#define SKSL_ASTFORSTATEMENT
@@ -13,10 +13,10 @@
namespace SkSL {
/**
- * A 'for' loop.
+ * A 'for' loop.
*/
struct ASTForStatement : public ASTStatement {
- ASTForStatement(Position position, std::unique_ptr<ASTStatement> initializer,
+ ASTForStatement(Position position, std::unique_ptr<ASTStatement> initializer,
std::unique_ptr<ASTExpression> test, std::unique_ptr<ASTExpression> next,
std::unique_ptr<ASTStatement> statement)
: INHERITED(position, kFor_Kind)
@@ -25,8 +25,8 @@ struct ASTForStatement : public ASTStatement {
, fNext(std::move(next))
, fStatement(std::move(statement)) {}
- SkString description() const override {
- SkString result("for (");
+ String description() const override {
+ String result("for (");
if (fInitializer) {
result.append(fInitializer->description());
}