aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ast/SkSLASTBoolLiteral.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ast/SkSLASTBoolLiteral.h')
-rw-r--r--src/sksl/ast/SkSLASTBoolLiteral.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sksl/ast/SkSLASTBoolLiteral.h b/src/sksl/ast/SkSLASTBoolLiteral.h
index 48e916eed5..02f4bac0da 100644
--- a/src/sksl/ast/SkSLASTBoolLiteral.h
+++ b/src/sksl/ast/SkSLASTBoolLiteral.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_ASTBOOLLITERAL
#define SKSL_ASTBOOLLITERAL
@@ -13,15 +13,15 @@
namespace SkSL {
/**
- * Represents "true" or "false".
+ * Represents "true" or "false".
*/
struct ASTBoolLiteral : public ASTExpression {
ASTBoolLiteral(Position position, bool value)
: INHERITED(position, kBool_Kind)
, fValue(value) {}
- String description() const override {
- return String(fValue ? "true" : "false");
+ SkString description() const override {
+ return SkString(fValue ? "true" : "false");
}
const bool fValue;