aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ast/SkSLASTExpressionStatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ast/SkSLASTExpressionStatement.h')
-rw-r--r--src/sksl/ast/SkSLASTExpressionStatement.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sksl/ast/SkSLASTExpressionStatement.h b/src/sksl/ast/SkSLASTExpressionStatement.h
index 398a16a23a..2dbd20940d 100644
--- a/src/sksl/ast/SkSLASTExpressionStatement.h
+++ b/src/sksl/ast/SkSLASTExpressionStatement.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_ASTEXPRESSIONSTATEMENT
#define SKSL_ASTEXPRESSIONSTATEMENT
@@ -13,14 +13,14 @@
namespace SkSL {
/**
- * A lone expression being used as a statement.
+ * A lone expression being used as a statement.
*/
struct ASTExpressionStatement : public ASTStatement {
ASTExpressionStatement(std::unique_ptr<ASTExpression> expression)
: INHERITED(expression->fPosition, kExpression_Kind)
, fExpression(std::move(expression)) {}
- String description() const override {
+ SkString description() const override {
return fExpression->description() + ";";
}