aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ast/SkSLASTSuffix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ast/SkSLASTSuffix.h')
-rw-r--r--src/sksl/ast/SkSLASTSuffix.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sksl/ast/SkSLASTSuffix.h b/src/sksl/ast/SkSLASTSuffix.h
index 64178c7682..f06c6fd362 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) {}
- SkString description() const override {
+ String description() const override {
switch (fKind) {
case kPostIncrement_Kind:
- return SkString("++");
+ return String("++");
case kPostDecrement_Kind:
- return SkString("--");
+ return String("--");
default:
ABORT("unsupported suffix operator");
- }
+ }
}
Kind fKind;