aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLBoolLiteral.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLBoolLiteral.h')
-rw-r--r--src/sksl/ir/SkSLBoolLiteral.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sksl/ir/SkSLBoolLiteral.h b/src/sksl/ir/SkSLBoolLiteral.h
index b372f2f3ff..4e1e050778 100644
--- a/src/sksl/ir/SkSLBoolLiteral.h
+++ b/src/sksl/ir/SkSLBoolLiteral.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_BOOLLITERAL
#define SKSL_BOOLLITERAL
@@ -21,8 +21,8 @@ struct BoolLiteral : public Expression {
: INHERITED(position, kBoolLiteral_Kind, *context.fBool_Type)
, fValue(value) {}
- SkString description() const override {
- return SkString(fValue ? "true" : "false");
+ String description() const override {
+ return String(fValue ? "true" : "false");
}
bool isConstant() const override {