aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLIfStatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLIfStatement.h')
-rw-r--r--src/sksl/ir/SkSLIfStatement.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sksl/ir/SkSLIfStatement.h b/src/sksl/ir/SkSLIfStatement.h
index 8667e932ec..a7e0aad00e 100644
--- a/src/sksl/ir/SkSLIfStatement.h
+++ b/src/sksl/ir/SkSLIfStatement.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_IFSTATEMENT
#define SKSL_IFSTATEMENT
@@ -17,15 +17,15 @@ namespace SkSL {
* An 'if' statement.
*/
struct IfStatement : public Statement {
- IfStatement(Position position, std::unique_ptr<Expression> test,
+ IfStatement(Position position, std::unique_ptr<Expression> test,
std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse)
: INHERITED(position, kIf_Kind)
, fTest(std::move(test))
, fIfTrue(std::move(ifTrue))
, fIfFalse(std::move(ifFalse)) {}
- SkString description() const override {
- SkString result = "if (" + fTest->description() + ") " + fIfTrue->description();
+ String description() const override {
+ String result = "if (" + fTest->description() + ") " + fIfTrue->description();
if (fIfFalse) {
result += " else " + fIfFalse->description();
}