diff options
Diffstat (limited to 'src/sksl/ast/SkSLASTSuffix.h')
-rw-r--r-- | src/sksl/ast/SkSLASTSuffix.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sksl/ast/SkSLASTSuffix.h b/src/sksl/ast/SkSLASTSuffix.h index f06c6fd362..64178c7682 100644 --- a/src/sksl/ast/SkSLASTSuffix.h +++ b/src/sksl/ast/SkSLASTSuffix.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_ASTSUFFIX #define SKSL_ASTSUFFIX @@ -30,15 +30,15 @@ struct ASTSuffix : public ASTPositionNode { : INHERITED(position) , fKind(kind) {} - String description() const override { + SkString description() const override { switch (fKind) { case kPostIncrement_Kind: - return String("++"); + return SkString("++"); case kPostDecrement_Kind: - return String("--"); + return SkString("--"); default: ABORT("unsupported suffix operator"); - } + } } Kind fKind; |